mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 04:27:35 +01:00
515 Compatibility (#19636)
* 515 compat * double spaces * Callback documentation, aa review * spacing * NAMEOF_STATIC * big beta
This commit is contained in:
@@ -114,7 +114,7 @@ GLOBAL_LIST_INIT(hallucinations, list(
|
||||
* * delay - Delay in deciseconds.
|
||||
*/
|
||||
/obj/effect/hallucination/proc/clear_icon_in(image/I, delay)
|
||||
addtimer(CALLBACK(src, .proc/clear_icon, I), delay)
|
||||
addtimer(CALLBACK(src, PROC_REF(clear_icon), I), delay)
|
||||
|
||||
/**
|
||||
* Clears all images from the hallucination.
|
||||
@@ -141,4 +141,4 @@ GLOBAL_LIST_INIT(hallucinations, list(
|
||||
if(time == 0) // whatever
|
||||
target?.playsound_local(source, snd, volume, vary, frequency)
|
||||
return
|
||||
addtimer(CALLBACK(target, /mob/.proc/playsound_local, source, snd, volume, vary, frequency), time)
|
||||
addtimer(CALLBACK(target, TYPE_PROC_REF(/mob, playsound_local), source, snd, volume, vary, frequency), time)
|
||||
|
||||
Reference in New Issue
Block a user