This commit is contained in:
vm-silicons
2025-12-19 21:53:57 -08:00
parent ada5c19928
commit c90f9d8a92
38 changed files with 158 additions and 127 deletions
+2 -2
View File
@@ -28,10 +28,10 @@
if(!hook_path)
CRASH("Invalid hook '/hook/[hook]' called.")
var/caller = new hook_path
var/caller1 = new hook_path
var/status = 1
for(var/P in typesof("[hook_path]/proc"))
if(!call(caller, P)(arglist(args)))
if(!call(caller1, P)(arglist(args)))
CRASH("Hook '[P]' failed or runtimed.")
return status