procs
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
to_chat(M, telegraph_message)
|
||||
if(telegraph_sound)
|
||||
SEND_SOUND(M, sound(telegraph_sound))
|
||||
addtimer(CALLBACK(src, .proc/start), telegraph_duration)
|
||||
addtimer(CALLBACK(src, PROC_REF(start)), telegraph_duration)
|
||||
|
||||
/**
|
||||
* Starts the actual weather and effects from it
|
||||
@@ -146,7 +146,7 @@
|
||||
if(weather_sound)
|
||||
SEND_SOUND(player, sound(weather_sound))
|
||||
if(!perpetual)
|
||||
addtimer(CALLBACK(src, .proc/wind_down), weather_duration)
|
||||
addtimer(CALLBACK(src, PROC_REF(wind_down)), weather_duration)
|
||||
|
||||
/**
|
||||
* Weather enters the winding down phase, stops effects
|
||||
@@ -167,7 +167,7 @@
|
||||
to_chat(M, end_message)
|
||||
if(end_sound)
|
||||
SEND_SOUND(M, sound(end_sound))
|
||||
addtimer(CALLBACK(src, .proc/end), end_duration)
|
||||
addtimer(CALLBACK(src, PROC_REF(end)), end_duration)
|
||||
|
||||
/**
|
||||
* Fully ends the weather
|
||||
|
||||
Reference in New Issue
Block a user