Skip to content

Commit

Permalink
Merge pull request #3434 from HanSolo1519/patch-31
Browse files Browse the repository at this point in the history
Makes floors unplyable on harm intent
  • Loading branch information
Tk420634 authored Oct 14, 2023
2 parents dcff1fc + 59b97fb commit 9ed5fec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/turfs/simulated/floor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,8 @@
/turf/open/floor/proc/try_replace_tile(obj/item/stack/tile/T, mob/user, params)
if(T.turf_type == type)
return
if(user.a_intent == INTENT_HARM)
return
var/obj/item/crowbar/CB = user.is_holding_item_of_type(/obj/item/crowbar)
if(!CB)
return
Expand Down

0 comments on commit 9ed5fec

Please sign in to comment.