mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
Vore fixes (#200)
* wagging tails! * oh * also these two runtime things * some delta too * maybesorta * Moves vore stuff lower into modules * Vore fixes ftw
This commit is contained in:
@@ -26,14 +26,14 @@
|
||||
/proc/callHook(hook, list/args=null)
|
||||
var/hook_path = text2path("/hook/[hook]")
|
||||
if(!hook_path)
|
||||
// error("Invalid hook '/hook/[hook]' called.")
|
||||
CRASH("Invalid hook '/hook/[hook]' called.")
|
||||
return 0
|
||||
|
||||
var/caller = new hook_path
|
||||
var/status = 1
|
||||
for(var/P in typesof("[hook_path]/proc"))
|
||||
if(!call(caller, P)(arglist(args)))
|
||||
// error("Hook '[P]' failed or runtimed.")
|
||||
CRASH("Hook '[P]' failed or runtimed.")
|
||||
status = 0
|
||||
|
||||
return status
|
||||
|
||||
Reference in New Issue
Block a user