ChrisNZL / Tallowmere2

Changelog, issue tracker, and development knowledge for Tallowmere 2.
https://tallowmere2.com
13 stars 0 forks source link

Online Co-op: Memory error after party dies and returns to Tallowmere's Keep #1135

Closed ChrisNZL closed 1 year ago

ChrisNZL commented 1 year ago

Found in 0.3.7a. Verified.

Issue with memory checker not clearing enough stuff after restarting an online game.

Affects all clients. Does not affect server.

ChrisNZL commented 1 year ago

Fixed in 0.3.7b.

Issue was a small timing case – was checking a value in the global GameStruct (which was stale) rather than checking the newly-created creature's parent GameStruct during construction upon receiving new info from the server when creating a new game.