515 Compatibility (#19636)

* 515 compat

* double spaces

* Callback documentation, aa review

* spacing

* NAMEOF_STATIC

* big beta
This commit is contained in:
S34N
2022-11-08 23:08:40 +00:00
committed by GitHub
parent 2e7e556383
commit 667dd5d4ac
378 changed files with 928 additions and 919 deletions
+2 -2
View File
@@ -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>")