mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Commented script.raise_event back in
This commit is contained in:
parent
8c64c02aae
commit
fc9f56d292
@ -152,7 +152,7 @@ Module.undo = function(player)
|
|||||||
|
|
||||||
local player = Utils.ternary(new_entity.last_user, new_entity.last_user, game.player)
|
local player = Utils.ternary(new_entity.last_user, new_entity.last_user, game.player)
|
||||||
local event = {created_entity = new_entity, player_index = player.index, stack = {}}
|
local event = {created_entity = new_entity, player_index = player.index, stack = {}}
|
||||||
--script.raise_event(defines.events.on_built_entity, event)
|
script.raise_event(defines.events.on_built_entity, event)
|
||||||
|
|
||||||
if e.type == "container" then
|
if e.type == "container" then
|
||||||
local items = e.get_inventory(defines.inventory.chest).get_contents()
|
local items = e.get_inventory(defines.inventory.chest).get_contents()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user