mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-02-05 13:15:03 +02:00
fix local variable shadowing
This commit is contained in:
parent
89223f5dbd
commit
376c101484
@ -1289,9 +1289,9 @@ function Public.reset_game()
|
||||
end
|
||||
end
|
||||
|
||||
local players = game.players
|
||||
for i = 1, #players do
|
||||
local player = players[i]
|
||||
local offline_players = game.players
|
||||
for i = 1, #offline_players do
|
||||
local player = offline_players[i]
|
||||
Session.clear_player(player)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user