mobility refactor (#52929)

This commit is contained in:
Rohesie
2020-08-24 13:56:07 -07:00
committed by GitHub
parent 6eff1644f3
commit 988319b3e3
87 changed files with 522 additions and 341 deletions
+1 -1
View File
@@ -103,7 +103,7 @@
return FALSE
if(!victim.client)
to_chat(user, "<span class='boldwarning'>[src] refuses to attach to a non-sapient creature!</span>")
if(victim.stat != CONSCIOUS || !victim.get_num_legs())
if(victim.stat != CONSCIOUS || !victim.usable_legs)
to_chat(user, "<span class='boldwarning'>[src] refuses to attach to someone incapable of using it!</span>")
user.temporarilyRemoveItemFromInventory(src, TRUE)
. = FALSE