mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-17 11:05:16 +01:00
Cleans up some extra args in Destroy() (#80642)
## About The Pull Request After https://github.com/tgstation/tgstation/pull/80628, these shouldn't be needed anymore right? ## Why It's Good For The Game Cleans up some vestigial code ## Changelog EDIT: Not player-facing.
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
RegisterSignal(game, action_priority, PROC_REF(perform_action_target))
|
||||
RegisterSignal(game, COMSIG_MAFIA_NIGHT_END, PROC_REF(clean_action_refs))
|
||||
|
||||
/datum/mafia_ability/Destroy(force, ...)
|
||||
/datum/mafia_ability/Destroy(force)
|
||||
host_role = null
|
||||
target_role = null
|
||||
return ..()
|
||||
|
||||
@@ -104,7 +104,7 @@ GLOBAL_LIST_INIT(mafia_role_by_alignment, setup_mafia_role_by_alignment())
|
||||
GLOB.mafia_game = src
|
||||
map_deleter = new
|
||||
|
||||
/datum/mafia_controller/Destroy(force, ...)
|
||||
/datum/mafia_controller/Destroy(force)
|
||||
. = ..()
|
||||
end_game()
|
||||
player_role_lookup.Cut()
|
||||
|
||||
@@ -57,7 +57,7 @@
|
||||
role_unique_actions += new abilities(game, src)
|
||||
role_unique_actions -= abilities
|
||||
|
||||
/datum/mafia_role/Destroy(force, ...)
|
||||
/datum/mafia_role/Destroy(force)
|
||||
UnregisterSignal(body, COMSIG_MOB_SAY)
|
||||
QDEL_NULL(mafia_alert)
|
||||
QDEL_NULL(mafia_panel)
|
||||
|
||||
Reference in New Issue
Block a user