Sundays211 / VirtueRS3

MIT License
11 stars 13 forks source link

Replacement location refactor #73

Closed Sundays211 closed 7 years ago

Sundays211 commented 7 years ago

There were some issues with the previous handing of replacement locations - namely, if locations were added while a dynamic map square was rebuilding, they would be cleaned up incorrectly. This change fixes the issue, as well as:

  1. Changing the map.delayLoc() function to a generic map.delay() function (which acts on the map square itself, and is only cancelled if the entire square gets cleaned up).
  2. Preventing the active zone coords from being constantly re-sent with further zone updates if it hasn't changed.

These changes will help the next component of construction - building & removing furniture.