mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-02-03 13:11:21 +02:00
made reactors local
This commit is contained in:
parent
0b969649c8
commit
1ee3a7b4f5
@ -121,7 +121,7 @@ local function check_wastelands()
|
||||
spawn_wasteland(game.surfaces[wl.surface_id], wl.position)
|
||||
if age > wasteland_duration_seconds * 60 - 1 then
|
||||
global.wastelands[index] = nil
|
||||
reactors =
|
||||
local reactors =
|
||||
game.surfaces[wl.surface_id].find_entities_filtered {
|
||||
position = wl.position,
|
||||
name = 'nuclear-reactor'
|
||||
|
Loading…
x
Reference in New Issue
Block a user