k2 wafer deadlock fix

This commit is contained in:
Brevven 2021-03-19 23:12:54 -07:00
parent 54e165f8fa
commit 1d3e9fffaf
5 changed files with 14 additions and 2 deletions

View file

@ -7,6 +7,9 @@ script.on_event( defines.events.on_console_chat, function(event)
if game.players[event.player_index].force.recipes["solar-cell"] then
game.players[event.player_index].force.recipes["solar-cell"].enabled=true
end
if game.players[event.player_index].force.recipes["hydrogen-chloride"] then
game.players[event.player_index].force.recipes["hydrogen-chloride"].enabled=true
end
end
end)