mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Fixes tableclimber knocking themself off the table when clicking it mid-climb.
This commit is contained in:
@@ -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>")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user