Skip to content

Commit

Permalink
Fixed Disconnection Problems with PAI Cams
Browse files Browse the repository at this point in the history
  • Loading branch information
MystLeissa committed Aug 1, 2019
1 parent 6188681 commit 32bd4b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/mob/living/silicon/pai/software.dm
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@
playsound(src, 'sound/machines/terminal_off.ogg', 25, 0)
return
if(C)
if(!C.can_use() || user.eye_blind || user.incapacitated())
if(!C.can_use() || user.eye_blind || user.incapacitated() || !cable || !cable.machine)
user.unset_machine()
return 0
playsound(src, 'sound/machines/terminal_prompt_confirm.ogg', 25, 0)
Expand Down

0 comments on commit 32bd4b0

Please sign in to comment.