mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Adds SIGNAL_HANDLER to a bunch of procs (#6186)
* signal handler * Remove a few that threw a shitton of errors I'll get someone else to look at that * we do a little async
This commit is contained in:
@@ -135,6 +135,7 @@ component_cell_out_of_charge/component_cell_removed proc using loc where necessa
|
||||
|
||||
/// Handling of cell removal.
|
||||
/datum/component/cell/proc/remove_cell(datum/source, mob/user)
|
||||
SIGNAL_HANDLER
|
||||
if(!equipment.can_interact(user))
|
||||
return
|
||||
|
||||
@@ -161,6 +162,7 @@ component_cell_out_of_charge/component_cell_removed proc using loc where necessa
|
||||
|
||||
/// Handling of cell insertion.
|
||||
/datum/component/cell/proc/insert_cell(datum/source, obj/item/inserting_item, mob/living/user, params)
|
||||
SIGNAL_HANDLER
|
||||
if(!equipment.can_interact(user))
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user