[MIRROR] BYOND 516 Compatibility (#9382)

Co-authored-by: ShadowLarkens <shadowlarkens@gmail.com>
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2024-11-02 10:18:18 -07:00
committed by GitHub
parent c5c603926d
commit 111e61a0a3
34 changed files with 250 additions and 160 deletions

View File

@@ -29,10 +29,10 @@
error("Invalid hook '/hook/[hook]' called.")
return 0
var/caller = new hook_path
var/requester = new hook_path
var/status = 1
for(var/P in typesof("[hook_path]/proc"))
if(!call(caller, P)(arglist(args)))
if(!call(requester, P)(arglist(args)))
error("Hook '[P]' failed or runtimed.")
status = 0