1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2025-02-05 13:15:03 +02:00

mtn v3 - insert ammo instantly when placing entity

This commit is contained in:
Gerkiz 2021-11-01 17:18:08 +01:00
parent 71f901a584
commit f8816dc24d

View File

@ -427,6 +427,9 @@ local function angry_tree(entity, cause, player)
force = 'enemy'
}
)
if e.can_insert(data) then
e.insert(data)
end
local callback = Token.get(cbl)
callback(e, data)
return