1
0
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:
Valansch 2018-06-05 19:22:43 +02:00 committed by GitHub
parent 8c64c02aae
commit fc9f56d292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()