1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-04-11 11:21:54 +02:00

fish_defender >> entity valid check

This commit is contained in:
MewMew 2019-01-05 01:07:15 +01:00
parent e7a71910d4
commit 3751c127e9

View File

@ -1210,6 +1210,7 @@ end
local function on_built_entity(event)
local entity = event.created_entity
if not entity.valid then return end
if global.entity_limits[entity.name] then
local surface = entity.surface