You've already forked ComfyFactorio
mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2025-11-23 22:22:34 +02:00
Fix creative prototypes
This commit is contained in:
@@ -252,6 +252,8 @@ commands.add_command(
|
||||
|
||||
Modifiers.set('creative_enabled', true)
|
||||
|
||||
player.force.enable_all_prototypes()
|
||||
|
||||
for _, iter_player in pairs(game.connected_players) do
|
||||
if iter_player.character ~= nil then
|
||||
if iter_player.get_inventory(defines.inventory.character_armor) then
|
||||
|
||||
Reference in New Issue
Block a user