mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +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:
@@ -26,7 +26,7 @@ GLOBAL_LIST_EMPTY(antagonist_teams)
|
||||
else
|
||||
add_member(starting_members)
|
||||
|
||||
/datum/team/Destroy(force, ...)
|
||||
/datum/team/Destroy(force)
|
||||
GLOB.antagonist_teams -= src
|
||||
members = null
|
||||
objectives = null
|
||||
|
||||
@@ -226,7 +226,7 @@
|
||||
/// A list of weakrefs to all items we've created.
|
||||
var/list/datum/weakref/created_items
|
||||
|
||||
/datum/heretic_knowledge/limited_amount/Destroy(force, ...)
|
||||
/datum/heretic_knowledge/limited_amount/Destroy(force)
|
||||
LAZYCLEARLIST(created_items)
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
/// List of minds with the ability to see influences
|
||||
var/list/datum/mind/tracked_heretics = list()
|
||||
|
||||
/datum/reality_smash_tracker/Destroy(force, ...)
|
||||
/datum/reality_smash_tracker/Destroy(force)
|
||||
if(GLOB.reality_smash_track == src)
|
||||
stack_trace("[type] was deleted. Heretics may no longer access any influences. Fix it, or call coder support.")
|
||||
message_admins("The [type] was deleted. Heretics may no longer access any influences. Fix it, or call coder support.")
|
||||
|
||||
@@ -345,7 +345,7 @@
|
||||
rusted_turfs += centre
|
||||
START_PROCESSING(SSprocessing, src)
|
||||
|
||||
/datum/rust_spread/Destroy(force, ...)
|
||||
/datum/rust_spread/Destroy(force)
|
||||
centre = null
|
||||
edge_turfs.Cut()
|
||||
rusted_turfs.Cut()
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@
|
||||
/// An assoc list of [ref] to [timers] - a list of all the timers of people in the shadow realm currently
|
||||
var/list/return_timers
|
||||
|
||||
/datum/heretic_knowledge/hunt_and_sacrifice/Destroy(force, ...)
|
||||
/datum/heretic_knowledge/hunt_and_sacrifice/Destroy(force)
|
||||
heretic_mind = null
|
||||
LAZYCLEARLIST(target_blacklist)
|
||||
return ..()
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
src.potential_recruits = potential_recruits
|
||||
src.department = department
|
||||
|
||||
/datum/team/nation/Destroy(force, ...)
|
||||
/datum/team/nation/Destroy(force)
|
||||
department = null
|
||||
UnregisterSignal(SSdcs, COMSIG_GLOB_CREWMEMBER_JOINED)
|
||||
. = ..()
|
||||
|
||||
@@ -134,7 +134,7 @@
|
||||
maximum_progression
|
||||
)
|
||||
|
||||
/datum/traitor_objective/Destroy(force, ...)
|
||||
/datum/traitor_objective/Destroy(force)
|
||||
handler = null
|
||||
return ..()
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
. = ..()
|
||||
maximum_potential_objectives = CONFIG_GET(number/maximum_potential_objectives)
|
||||
|
||||
/datum/uplink_handler/Destroy(force, ...)
|
||||
/datum/uplink_handler/Destroy(force)
|
||||
can_replace_objectives = null
|
||||
replace_objectives = null
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user