get working in 2.0
This commit is contained in:
parent
00cc9df72c
commit
d0aaba1d07
6 changed files with 68 additions and 60 deletions
|
|
@ -1,3 +1,7 @@
|
|||
local util = require("control-util")
|
||||
script.on_configuration_changed(util.ore_fix)
|
||||
util.add_regenerate_command_handler()
|
||||
|
||||
script.on_event( defines.events.on_console_chat, function(event)
|
||||
-- refresh recipes, in case of settings change
|
||||
if event.message and event.message == "ZirconiumRecipes" and (not event.player_index or not game.players[event.player_index] or game.players[event.player_index].admin) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue