Mafia Landmarks are cleaned up at the end of the game (#52297)

* Seven billion people Instantly enlightened Everyone's rebranded All the fighting's over

* confrimed it works
This commit is contained in:
tralezab
2020-07-20 08:59:37 +02:00
committed by GitHub
parent 621416027d
commit 42bac361df
+3 -3
View File
@@ -326,6 +326,9 @@
QDEL_LIST(all_roles)
turn = 0
votes = list()
//map gen does not deal with landmarks
QDEL_LIST(landmarks)
QDEL_NULL(town_center_landmark)
phase = MAFIA_PHASE_SETUP
/**
@@ -573,9 +576,6 @@
basic_setup()
if("nuke")
end_game()
for(var/i in landmarks)
qdel(i)
qdel(town_center_landmark)
qdel(src)
if("next_phase")
var/datum/timedevent/timer = SStimer.timer_id_dict[next_phase_timer]