mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Bug fixes
This commit is contained in:
@@ -56,7 +56,7 @@ All are welcome to make pull requests and issues for this scenario, if you are i
|
|||||||
|
|
||||||
| Scenario Version* | Version Name | Factorio Version** |
|
| Scenario Version* | Version Name | Factorio Version** |
|
||||||
|---|---|---|
|
|---|---|---|
|
||||||
| [v5.9][s5.9] | Control Modules and Documentation | [v0.17.61][f0.17.61] |
|
| [v5.9][s5.9] | Control Modules and Documentation | [v0.17.63][f0.17.63] |
|
||||||
| [v5.8][s5.8] | Home and Chat Bot | [v0.17.47][f0.17.49] |
|
| [v5.8][s5.8] | Home and Chat Bot | [v0.17.47][f0.17.49] |
|
||||||
| [v5.7][s5.7] | Warp System | [v0.17.47][f0.17.47] |
|
| [v5.7][s5.7] | Warp System | [v0.17.47][f0.17.47] |
|
||||||
| [v5.6][s5.6] | Information Guis | [v0.17.44][f0.17.44] |
|
| [v5.6][s5.6] | Information Guis | [v0.17.44][f0.17.44] |
|
||||||
@@ -92,7 +92,7 @@ All are welcome to make pull requests and issues for this scenario, if you are i
|
|||||||
[s1.0]: https://github.com/explosivegaming/scenario/releases/tag/v1.0
|
[s1.0]: https://github.com/explosivegaming/scenario/releases/tag/v1.0
|
||||||
[s0.1]: https://github.com/explosivegaming/scenario/releases/tag/v0.1
|
[s0.1]: https://github.com/explosivegaming/scenario/releases/tag/v0.1
|
||||||
|
|
||||||
[f0.17.61]: https://wiki.factorio.com/Version_history/0.17.0#0.17.61
|
[f0.17.63]: https://wiki.factorio.com/Version_history/0.17.0#0.17.63
|
||||||
[f0.17.49]: https://wiki.factorio.com/Version_history/0.17.0#0.17.49
|
[f0.17.49]: https://wiki.factorio.com/Version_history/0.17.0#0.17.49
|
||||||
[f0.17.47]: https://wiki.factorio.com/Version_history/0.17.0#0.17.47
|
[f0.17.47]: https://wiki.factorio.com/Version_history/0.17.0#0.17.47
|
||||||
[f0.17.44]: https://wiki.factorio.com/Version_history/0.17.0#0.17.44
|
[f0.17.44]: https://wiki.factorio.com/Version_history/0.17.0#0.17.44
|
||||||
|
|||||||
@@ -494,7 +494,7 @@ Event.on_nth_tick(math.floor(60/config.update_smoothing),function()
|
|||||||
local px,py = pos.x,pos.y
|
local px,py = pos.x,pos.y
|
||||||
for _,warp_id in pairs(warps) do
|
for _,warp_id in pairs(warps) do
|
||||||
local warp = Warps.get_details(warp_id)
|
local warp = Warps.get_details(warp_id)
|
||||||
local wpos = warp.position
|
local warp_pos = warp.position
|
||||||
if warp.surface.index == surface then
|
if warp.surface.index == surface then
|
||||||
local dx,dy = px-warp_pos.x,py-warp_pos.y
|
local dx,dy = px-warp_pos.x,py-warp_pos.y
|
||||||
if not warp.editing and (dx*dx)+(dy*dy) < rs2 or (dx*dx)+(dy*dy) < r2 then
|
if not warp.editing and (dx*dx)+(dy*dy) < rs2 or (dx*dx)+(dy*dy) < r2 then
|
||||||
|
|||||||
Reference in New Issue
Block a user