mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
add more verbose logging when a signal type is overriden (#18329)
This commit is contained in:
@@ -188,7 +188,8 @@
|
||||
var/list/sig_types = islist(sig_type_or_types) ? sig_type_or_types : list(sig_type_or_types)
|
||||
for(var/sig_type in sig_types)
|
||||
if(!override && procs[target][sig_type])
|
||||
stack_trace("[sig_type] overridden. Use override = TRUE to suppress this warning")
|
||||
stack_trace("RegisterSignal overrode a signal without having 'override = TRUE' set.\n \
|
||||
src: [src], signal type: [sig_type], target: [target], proc: [proctype].")
|
||||
|
||||
procs[target][sig_type] = proctype
|
||||
|
||||
|
||||
Reference in New Issue
Block a user