mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13.git
synced 2026-08-24 01:36:59 +01:00
initial
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user