mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-01-29 18:31:03 +00:00
17 lines
400 B
Plaintext
17 lines
400 B
Plaintext
// Observer Pattern Implementation: Destroyed
|
|
// Registration type: /datum
|
|
//
|
|
// Raised when: A /datum instance is destroyed.
|
|
//
|
|
// Arguments that the called proc should expect:
|
|
// /datum/destroyed_instance: The instance that was destroyed.
|
|
/*
|
|
/decl/observ/destroyed
|
|
name = "Destroyed"
|
|
*/
|
|
//Deprecated in favor of Comsigs
|
|
|
|
/datum/Destroy()
|
|
SEND_SIGNAL(src,COMSIG_OBSERVER_DESTROYED)
|
|
. = ..()
|