mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-26 17:41:05 +00: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:
@@ -16,7 +16,7 @@
|
||||
RegisterSignal(user, COMSIG_QDELETING, PROC_REF(destroy_self))
|
||||
RegisterSignal(user.client, COMSIG_QDELETING, PROC_REF(destroy_self))
|
||||
|
||||
/datum/tutorial/Destroy(force, ...)
|
||||
/datum/tutorial/Destroy(force)
|
||||
user.client?.screen -= instruction_screen
|
||||
QDEL_NULL(instruction_screen)
|
||||
|
||||
@@ -163,7 +163,7 @@
|
||||
ASSERT(ispath(tutorial_type, /datum/tutorial))
|
||||
src.tutorial_type = tutorial_type
|
||||
|
||||
/datum/tutorial_manager/Destroy(force, ...)
|
||||
/datum/tutorial_manager/Destroy(force)
|
||||
if (!force)
|
||||
stack_trace("Something is trying to destroy [type], which is a singleton")
|
||||
return QDEL_HINT_LETMELIVE
|
||||
|
||||
Reference in New Issue
Block a user