mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-29 08:11:11 +01:00
[MIRROR] Removes some simple sleeps (#11527)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
794f2649b6
commit
8d29707485
@@ -222,8 +222,7 @@
|
||||
animation.icon = 'icons/mob/mob.dmi'
|
||||
animation.master = user
|
||||
flick("blspell", animation)
|
||||
sleep(5)
|
||||
qdel(animation)
|
||||
QDEL_IN(animation, 5)
|
||||
|
||||
if(!flashfail)
|
||||
flick("flash2", src)
|
||||
@@ -267,8 +266,7 @@
|
||||
animation.icon = 'icons/mob/mob.dmi'
|
||||
animation.master = user
|
||||
flick("blspell", animation)
|
||||
sleep(5)
|
||||
qdel(animation)
|
||||
QDEL_IN(animation, 5)
|
||||
|
||||
for(var/mob/living/carbon/C in oviewers(3, null))
|
||||
var/safety = C.eyecheck()
|
||||
|
||||
@@ -346,9 +346,8 @@
|
||||
t1 += "[printedmessage]<BR>"
|
||||
P.info = t1
|
||||
P.name = "Transcript"
|
||||
canprint = 0
|
||||
sleep(300)
|
||||
canprint = 1
|
||||
canprint = FALSE
|
||||
VARSET_IN(src, canprint, TRUE, 30 SECONDS)
|
||||
|
||||
|
||||
/obj/item/taperecorder/attack_self(mob/user)
|
||||
|
||||
@@ -617,10 +617,8 @@
|
||||
spawn(5) //gia said so
|
||||
icon_state = "nuketoy"
|
||||
playsound(src, 'sound/machines/alarm.ogg', 10, 0, 0)
|
||||
sleep(135)
|
||||
icon_state = "nuketoycool"
|
||||
sleep(cooldown - world.time)
|
||||
icon_state = "nuketoyidle"
|
||||
VARSET_IN(src, icon_state, "nuketoycool", 135)
|
||||
VARSET_IN(src, icon_state, "nuketoyidle", (135 + (cooldown - world.time)))
|
||||
else
|
||||
var/timeleft = (cooldown - world.time)
|
||||
to_chat(user, span_warning("Nothing happens, and") + " '[round(timeleft/10)]' " + span_warning("appears on a small display."))
|
||||
@@ -796,8 +794,7 @@
|
||||
s.set_up(5, 1, src)
|
||||
s.start()
|
||||
icon_state = "shoot"
|
||||
sleep(5)
|
||||
icon_state = "[initial(icon_state)]"
|
||||
VARSET_IN(src, icon_state, "[initial(icon_state)]", 5)
|
||||
|
||||
/*
|
||||
* Toy chainsaw
|
||||
|
||||
Reference in New Issue
Block a user