Skip to content

Commit

Permalink
Readds the TRUES to see if thats breaking Rust???
Browse files Browse the repository at this point in the history
  • Loading branch information
Gristlebee committed Mar 20, 2024
1 parent dc983d7 commit 05d868a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion code/modules/mining/lavaland/ruins/gym.dm
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
set_anchored(!anchored)
to_chat(user, "<span class='notice'>You [anchored ? "bolt" : "unbolt"] [src] from the floor.</span>")
return TRUE

else
return TRUE
/obj/structure/punching_bag/wirecutter_act(mob/living/user, obj/item/W)
. = ..()
if(!anchored)
Expand All @@ -37,6 +38,7 @@
return TRUE
to_chat(user, "<span class='notice'>You cut apart [src].</span>")
deconstruct(TRUE)
return TRUE

/obj/structure/punching_bag/proc/check_anchored_state(check_anchored)
if(anchored != check_anchored)
Expand Down Expand Up @@ -94,6 +96,8 @@
set_anchored(!anchored)
to_chat(user, "<span class='notice'>You [anchored ? "bolt" : "unbolt"] [src] from the floor.</span>")
return TRUE
else
return TRUE

/obj/structure/weightmachine/screwdriver_act(mob/living/user, obj/item/W)
. = ..()
Expand All @@ -104,6 +108,7 @@
return TRUE
to_chat(user, "<span class='notice'>You screw apart [src].</span>")
deconstruct(TRUE)
return TRUE

/obj/structure/weightmachine/proc/check_anchored_state(check_anchored)
if(anchored != check_anchored)
Expand Down

0 comments on commit 05d868a

Please sign in to comment.