Add the checks

This commit is contained in:
Dovixx
2020-09-19 23:16:59 +03:00
parent ff26229f34
commit b35a9f3af3
4 changed files with 5 additions and 3 deletions
+2
View File
@@ -141,6 +141,8 @@
if(paddles_on_defib)
//Detach the paddles into the user's hands
if(usr.incapacitated()) return
if(!usr.put_in_hands(paddles))
to_chat(user, "<span class='warning'>You need a free hand to hold the paddles!</span>")
update_icon()