Hunts down some runtimes

cleans up some dogborg sleeper code too
This commit is contained in:
Poojawa
2018-03-17 19:38:03 -05:00
parent b479e5fc7a
commit c8365e6be7
7 changed files with 82 additions and 86 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ SUBSYSTEM_DEF(vote)
return 1
/datum/action/vote/proc/remove_from_client()
if(owner.client)
if(owner && owner.client)
owner.client.player_details.player_actions -= src
else if(owner.ckey)
var/datum/player_details/P = GLOB.player_details[owner.ckey]