Skip to content

Commit

Permalink
Some Table flipping fixes (#1941)
Browse files Browse the repository at this point in the history
* Table flipping fixes

* This is not needed

* Borgs can't remotely flip/unflip
  • Loading branch information
vinylspiders authored and StealsThePRs committed Apr 13, 2024
1 parent 89961fd commit 9e7f7ee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modular_nova/modules/tableflip/code/flipped_table.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
if(direction == dir)
return COMPONENT_ATOM_BLOCK_EXIT

/obj/structure/flippedtable/CtrlShiftClick(mob/user)
/obj/structure/flippedtable/CtrlShiftClick(mob/living/user)
. = ..()
if(!istype(user) || !user.can_interact_with(src) || iscorticalborer(user))
if(!istype(user) || iscorticalborer(user) || !user.can_perform_action(src, NEED_DEXTERITY))
return FALSE
user.balloon_alert_to_viewers("flipping table upright...")
if(do_after(user, max_integrity * 0.25))
Expand All @@ -70,7 +70,7 @@

/obj/structure/table/CtrlShiftClick(mob/living/user)
. = ..()
if(!istype(user) || !user.can_interact_with(src) || isobserver(user) || iscorticalborer(user))
if(!istype(user) || iscorticalborer(user) || !user.can_perform_action(src, NEED_DEXTERITY))
return
if(!can_flip)
return
Expand Down

0 comments on commit 9e7f7ee

Please sign in to comment.