Skip to content

Commit

Permalink
[MIRROR] Adds the proc we're overriding to RegisterSignals's override…
Browse files Browse the repository at this point in the history
… stacktrace (#1978)

* Adds the proc we're overriding to RegisterSignals's override stacktrace (#82641)

## About The Pull Request

We get it for quite literally free, no reason not to dump it. 
I always find myself checking in the debugger, which says something
about what'll happen when I don't have that again.

* Adds the proc we're overriding to RegisterSignals's override stacktrace

---------

Co-authored-by: LemonInTheDark <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Apr 14, 2024
1 parent d4a333c commit cd5bda8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/signals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

if(exists)
if(!override)
var/override_message = "[signal_type] overridden. Use override = TRUE to suppress this warning.\nTarget: [target] ([target.type]) Proc: [proctype]"
var/override_message = "[signal_type] overridden. Use override = TRUE to suppress this warning.\nTarget: [target] ([target.type]) Existing Proc: [exists] New Proc: [proctype]"
log_signal(override_message)
stack_trace(override_message)
return
Expand Down

0 comments on commit cd5bda8

Please sign in to comment.