mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-10 06:34:45 +01:00
515 Compatibility (#19636)
* 515 compat * double spaces * Callback documentation, aa review * spacing * NAMEOF_STATIC * big beta
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
pda.name = "PDA-[pda.owner] ([pda.ownjob])"
|
||||
if(!pda.silent)
|
||||
playsound(pda, 'sound/machines/terminal_processing.ogg', 15, TRUE)
|
||||
addtimer(CALLBACK(GLOBAL_PROC, .proc/playsound, pda, 'sound/machines/terminal_success.ogg', 15, TRUE), 1.3 SECONDS)
|
||||
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(playsound), pda, 'sound/machines/terminal_success.ogg', 15, TRUE), 1.3 SECONDS)
|
||||
if("pai")
|
||||
if(pda.pai)
|
||||
if(pda.pai.loc != pda)
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
if(!captured)
|
||||
return FALSE
|
||||
my_collection += captured
|
||||
RegisterSignal(captured, COMSIG_PARENT_QDELETING, .proc/remove_mob)
|
||||
RegisterSignal(captured, COMSIG_PARENT_QDELETING, PROC_REF(remove_mob))
|
||||
if(wild)
|
||||
wild_captures++
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user