X Tutup
Skip to content

Commit 2c4c85f

Browse files
authored
Fix for commodity market in stock and demand reset
Fixes commodity market in stock and demand reseting on save load
1 parent 1957b8d commit 2c4c85f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

data/libs/SpaceStation.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,7 @@ Event.Register("onGameStart", function ()
10111011

10121012
for station,list in pairs(loaded_data.shipsOnSale) do
10131013
shipsOnSale[station] = {}
1014+
createCommodityStock(station)
10141015
for i,entry in pairs(loaded_data.shipsOnSale[station]) do
10151016
local def = ShipDef[entry.id]
10161017
if (def) then

0 commit comments

Comments
 (0)
X Tutup