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:
parent
71f901a584
commit
f8816dc24d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user