1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-26 22:56:43 +02:00

Mtn: Add item to inventory even if armor is missing

This commit is contained in:
Gerkiz 2024-11-11 14:30:31 +01:00
parent d9059ca14d
commit 81a167f081

View File

@ -2851,6 +2851,8 @@ function Public.equip_players(starting_items, recreate)
for _ = 1, item_data.count do
p_armor[1].grid.put({ name = item })
end
else
player.insert({ name = item, count = item_data.count })
end
else
player.insert({ name = item, count = item_data.count })