Changed the two example hook scripts to global scripts.

This commit is contained in:
NovaRain
2018-08-24 08:10:38 +08:00
parent 999d818c86
commit bb0f2bb8db
3 changed files with 63 additions and 59 deletions
@@ -14,7 +14,9 @@
procedure start;
procedure start begin
if (init_hook == 0) then begin
if game_loaded then begin
register_hook(HOOK_EXPLOSIVETIMER);
end else begin
variable
time := get_sfall_arg,
result := ROLL_CRITICAL_FAILURE;