Fix some inconsistencies relating to resting

This commit is contained in:
Jordan Brown
2018-05-25 11:56:08 -04:00
committed by letterjay
parent cc088d9113
commit 2bcfe00283
2 changed files with 9 additions and 1 deletions
+7
View File
@@ -377,10 +377,17 @@
sleep(speed)
for(var/i in 1 to speed)
M.setDir(pick(GLOB.cardinals))
// update resting manually to avoid chat spam
for(var/mob/living/carbon/NS in rangers)
<<<<<<< HEAD
NS.lay_down(TRUE) //specifically excludes silicons to prevent pAI chat spam
time--*/ //CIT CHANGE -- replaces dance4 with rapid spinning so that disco balls dont make weird shit happen
M.SpinAnimation(1,30)
=======
NS.resting = !NS.resting
NS.update_canmove()
time--
>>>>>>> 78db4ed... Merge pull request #37960 from AutomaticFrenzy/patch/resting
/obj/machinery/jukebox/disco/proc/dance5(var/mob/living/M)
animate(M, transform = matrix(180, MATRIX_ROTATE), time = 1, loop = 0)