1
0
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:
Gerkiz
2023-10-25 20:58:12 +02:00
parent 63b07d4041
commit 4a03b3ec00

View File

@@ -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