1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

Make local copy of walking_storage

This commit is contained in:
plague006 2018-11-18 14:07:03 -05:00
parent 3a83d4182a
commit f2fbd45374

View File

@ -131,7 +131,8 @@ function clean_on_join(event)
local index = player.index
if global.walking[index] then
global.walking[index] = false
for _, s in pairs (global.walking_storage) do
local walking_storage = global.walking_storage
for _, s in pairs (walking_storage) do
if s.index == index then
local walkabout_character = player.character