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:
parent
d9059ca14d
commit
81a167f081
@ -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 })
|
||||
|
Loading…
Reference in New Issue
Block a user