Fixes tableclimber knocking themself off the table when clicking it mid-climb.

This commit is contained in:
phil235
2015-03-29 23:57:47 +02:00
parent 564b011a1a
commit 0745219d06
+1 -1
View File
@@ -220,7 +220,7 @@
/obj/structure/table/attack_hand(mob/living/user)
user.changeNext_move(CLICK_CD_MELEE)
if(tableclimber)
if(tableclimber && tableclimber != user)
tableclimber.Weaken(2)
tableclimber.visible_message("<span class='warning'>[tableclimber.name] has been knocked off the table", "You've been knocked off the table", "You see [tableclimber.name] get knocked off the table</span>")