Skip to content

Commit

Permalink
Fixes infinite rods from reinforced floors
Browse files Browse the repository at this point in the history
  • Loading branch information
Firecage committed May 12, 2015
1 parent 67bfcfb commit e84ee8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/turfs/simulated/floor/plating.dm
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
user << "<span class='notice'>You begin removing rods...</span>"
playsound(src, 'sound/items/Ratchet.ogg', 80, 1)
if(do_after(user, 30))
if(!istype(src, /turf/simulated/floor/engine))
return
new /obj/item/stack/rods(src, 2)
ChangeTurf(/turf/simulated/floor/plating)
return
Expand Down

0 comments on commit e84ee8d

Please sign in to comment.