Fixed It won't budge! from crates, added drag and drop for table climbing, added Adajcent check to table climbing.

This commit is contained in:
Zuhayr
2014-06-29 09:40:37 +09:30
parent cf1abf65d9
commit c7e9e1aa2a
2 changed files with 29 additions and 9 deletions

View File

@@ -120,8 +120,9 @@
return 1
/obj/structure/closet/proc/toggle(mob/user as mob)
var/orig = src.opened
. = src.opened ? src.close() : src.open()
if(!.)
if(. == orig)
user << "<span class='notice'>It won't budge!</span>"
return