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
@@ -39,7 +39,7 @@
get_cameras()
for(var/cam_tag in bugged_cameras)
var/obj/machinery/camera/camera = bugged_cameras[cam_tag]
if(camera.bug == src)
if(camera && camera.bug == src)
camera.bug = null
bugged_cameras = list()
if(tracking)
@@ -95,6 +95,8 @@
html = "<h3>Select a camera:</h3> <a href='?src=[REF(src)];view'>\[Cancel camera view\]</a><hr><table>"
for(var/entry in cameras)
var/obj/machinery/camera/C = cameras[entry]
if(QDELETED(C))
continue
var/functions = ""
if(C.bug == src)
functions = " - <a href='?src=[REF(src)];monitor=[REF(C)]'>\[Monitor\]</a> <a href='?src=[REF(src)];emp=[REF(C)]'>\[Disable\]</a>"