Skip to content

Commit

Permalink
isturf moment
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwertytoforty committed Nov 13, 2024
1 parent d2a20d1 commit a6658ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/surgery/organs/augments_internal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@
to_chat(user, "<span class='warning'>Your implant is unable to get a lock on anything in the pipes!</span>")
return
var/beam
if(!istype(user.loc, /turf)) //Using it inside a locker or stealth box is fine! Let us make sure the beam can be seen though.
if(!isturf(user.loc)) //Using it inside a locker or stealth box is fine! Let us make sure the beam can be seen though.
beam = user.loc.Beam(target, icon_state = "sm_arc_supercharged", time = 3 SECONDS)
else
beam = user.Beam(target, icon_state = "sm_arc_supercharged", time = 3 SECONDS)
Expand Down

0 comments on commit a6658ba

Please sign in to comment.