mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-03-03 14:53:01 +02:00
Updated crash site /restart command so that guests and regulars can call it when map is cleared - Only admin can abort, once the map is cleared. - Guests and Regular can both call /restart when all enemy units and structures are dead - Tested on S10 by running this command: /c local surface=game.player.surface for key, entity in pairs(surface.find_entities_filtered({force="enemy"})) do entity.destroy() end - Need to merge into develop to test on live server in case conditions at the end of the game are different - Thought about adding rocket launched condition but decided against it.