Mel-On-E / Scrap-Factory

Tycoon games go brrrr
3 stars 1 forks source link

Fix drop container persisting the burn time for burning drops #90

Closed Natejoestev closed 1 year ago

Natejoestev commented 1 year ago

Fix issue where putting a burning drop into a container would persist the burn time, thus removing the time requirement for burning drops.

there might be an issue when saving the world and loading again if gameTick is reset to 0 when loading.

JuneCarya commented 1 year ago

Fix issue where putting a burning drop into a container would persist the burn time, thus removing the time requirement for burning drops.

there might be an issue when saving the world and loading again if gameTick is reset to 0 when loading.

Can you elaborate when the case applies, that the game tick is reset to 0? Afaik we have no access to reset the tick count and the game itself doesn't reset the game tick of an existing world, except if the world database file was edited manually. I could imagine this happening if the tick count overflows and potentially starts at 0 then, but iirc nobody tried it as of yet.