mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 23:23:28 +01:00
515 Compatibility (#19636)
* 515 compat * double spaces * Callback documentation, aa review * spacing * NAMEOF_STATIC * big beta
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
to_chat(usr, "<span class='notice'>Printing report, please wait...</span>")
|
||||
playsound(loc, 'sound/goonstation/machines/printer_thermal.ogg', 50, 1)
|
||||
|
||||
addtimer(CALLBACK(src, .proc/make_paper, log), 10 SECONDS) // Create our paper
|
||||
addtimer(CALLBACK(src, PROC_REF(make_paper), log), 10 SECONDS) // Create our paper
|
||||
log = list() // Clear the logs
|
||||
scanning = FALSE
|
||||
else
|
||||
@@ -95,7 +95,7 @@
|
||||
if(length(log) && !scanning)
|
||||
log = list()
|
||||
playsound(loc, 'sound/machines/ding.ogg', 40)
|
||||
addtimer(CALLBACK(GLOBAL_PROC, .proc/to_chat, usr, "<span class='notice'>Scanner logs cleared.</span>"), 1.5 SECONDS) //Timer so that it clears on the 'ding'
|
||||
addtimer(CALLBACK(GLOBAL_PROC, GLOBAL_PROC_REF(to_chat), usr, "<span class='notice'>Scanner logs cleared.</span>"), 1.5 SECONDS) //Timer so that it clears on the 'ding'
|
||||
else
|
||||
to_chat(usr, "<span class='warning'>The scanner has no logs or is in use.</span>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user