Skip to content

Commit

Permalink
fixes the immediate problem but seems awful
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Nov 9, 2023
1 parent c02bb79 commit 3e8504e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/callback.dm
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ HELP TO PROC TYPEPATH SHORTCUTS (Purely based on the path in the code)
var/list/calling_arguments = length(args) > 2 ? args.Copy(3) : null

if (thingtocall == GLOBAL_PROC)
call(proctocall)(arglist(calling_arguments))
. = call(proctocall)(arglist(calling_arguments))
else
call(thingtocall, proctocall)(arglist(calling_arguments))
. = call(thingtocall, proctocall)(arglist(calling_arguments))

/datum/callback/proc/Invoke(...)
if (!object)
Expand Down

0 comments on commit 3e8504e

Please sign in to comment.