From 4a03b3ec00b528e5f19bc0562eda9bb1c04a169c Mon Sep 17 00:00:00 2001 From: Gerkiz Date: Wed, 25 Oct 2023 20:58:12 +0200 Subject: [PATCH] Fix creative prototypes --- utils/commands/misc.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils/commands/misc.lua b/utils/commands/misc.lua index eaf527d3..434ca10a 100644 --- a/utils/commands/misc.lua +++ b/utils/commands/misc.lua @@ -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