Fixes runtimes & some cleanup (#48776)

* Keyless emote sanity.

* Camera bug runtime

* SM runtime

* Removes random <br>'s in atmos logs

* light spark runtime

* uranium splashing on walls runtime

* throwing clown with clown shoes runtime.

* beam rifle runtime

* Don't warn on mesageless keyless emotes.

* Fixup
This commit is contained in:
AnturK
2020-01-24 13:23:59 -05:00
committed by Emmett Gaines
parent 87ebdc8001
commit b04934a0d1
11 changed files with 34 additions and 25 deletions
@@ -180,7 +180,8 @@
/obj/item/gun/energy/beam_rifle/proc/aiming_beam(force_update = FALSE)
var/diff = abs(aiming_lastangle - lastangle)
check_user()
if(!check_user())
return
if(diff < AIMING_BEAM_ANGLE_CHANGE_THRESHOLD && !force_update)
return
aiming_lastangle = lastangle