diff --git a/README.md b/README.md index 18870274..2c9d02e7 100644 --- a/README.md +++ b/README.md @@ -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** | |---|---|---| -| [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.7][s5.7] | Warp System | [v0.17.47][f0.17.47] | | [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 [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.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 diff --git a/modules/gui/warp-list.lua b/modules/gui/warp-list.lua index b77f3c56..9ba0a109 100644 --- a/modules/gui/warp-list.lua +++ b/modules/gui/warp-list.lua @@ -494,7 +494,7 @@ Event.on_nth_tick(math.floor(60/config.update_smoothing),function() local px,py = pos.x,pos.y for _,warp_id in pairs(warps) do local warp = Warps.get_details(warp_id) - local wpos = warp.position + local warp_pos = warp.position if warp.surface.index == surface then 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