branchrust_reboot/main/shelter_limitcancel
23 Commits over 31 Days - 0.03cph!
Fixed bug if markers list was 0 and was trying to be accessed,
Main merge - resolved conflicts
Protobuf
Additional check on server destroyed
Removed pointless import
Pooled server postions vector
Fixed bugs with marker display.
Old markers are now resused.
Internal default shelter count stored.
Removed various debug checks.
Cleaned up code.
Cleaned up on destroy code.
Fixed marker display.
Markers are now updated on destroy correctly.
Fixed issues with double adding to limited list.
Redone limited shelter list setup for removal/addition
Removed reliance on owner id
Prevented client error on join. Ensured key exists in list before checking count.
Redone and broke shelter map markers again
Fixed client build issue - still to fix marker loading
Fixed bug causing doubled markers to appear
Map now shows shelters owned by player
This functionality automatically disables if max_shelters convar is set higher than default
Shelters now inform local player if owner
Shelters map marker is now instantiated by owned shelters
Added shelter limit to toolbar - in the same way as bag limits are displayed
Adjusted description to reflect a limit on shelters.
Limit now responds to shelters being destroyed
Ensured toast is always displayed
Streamlined and cleaned up conditional placement checks
Ensured limit supports empty shelter list from the beginning,
Ensured new placed shelters are added to the limit
Added groundwork to limit how many shelters a person can have