Skip to content

Fixes area controller deletion#472

Merged
PsyCommando merged 1 commit intoPersistentSS13:devfrom
NataKilar:area-controller-fix
Sep 19, 2023
Merged

Fixes area controller deletion#472
PsyCommando merged 1 commit intoPersistentSS13:devfrom
NataKilar:area-controller-fix

Conversation

@NataKilar
Copy link
Collaborator

Description of changes

Area controllers will now clear turfs of their area prior to deletion. Previously this was causing an issue where an area's entire contents could be wiped.

Authorship

Myself. Thanks to Brawler for the report

@PsyCommando PsyCommando added the 💾 serialization A bug or feature linked to serialization/deserialization label Sep 19, 2023
@PsyCommando PsyCommando added this to the Outreach Map Pre-Release milestone Sep 19, 2023
if(!(locate(/turf) in A))
qdel(A) // uh oh, is this safe?

return TRUE
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be pushed upstream or?

@PsyCommando PsyCommando merged commit 30a0294 into PersistentSS13:dev Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💾 serialization A bug or feature linked to serialization/deserialization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants