1
0
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:
grilledham 2018-06-21 13:50:01 +01:00
parent 0b969649c8
commit 1ee3a7b4f5

View File

@ -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'