Skip to content

Commit

Permalink
Merge pull request #5633 from Max5377/CommodityMarketReset-fix
Browse files Browse the repository at this point in the history
Fix for commodity market in stock and demand reset
  • Loading branch information
Webster Sheets authored Oct 6, 2023
2 parents 7c024d6 + 33b406c commit 13a5e55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/libs/SpaceStation.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1008,6 +1008,10 @@ Event.Register("onGameStart", function ()

visited = loaded_data.visited or {}
police = loaded_data.police

for station,_ in pairs(visited) do
createCommodityStock(station)
end

for station,list in pairs(loaded_data.shipsOnSale) do
shipsOnSale[station] = {}
Expand Down

0 comments on commit 13a5e55

Please sign in to comment.