Skip to content

Commit

Permalink
ladderspam fix
Browse files Browse the repository at this point in the history
mmmmmmm ladders
  • Loading branch information
DeltaFire15 committed Dec 11, 2024
1 parent 2e7fd43 commit 0636b8f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion code/modules/pool/pool.dm
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,12 @@ Place a pool filter somewhere in the pool if you want people to be able to modif
if(!istype(get_step(src,NORTH), /turf/open/indestructible/sound/pool)) //Ladders only face up, and no stacking!
balloon_alert(user, "You start installing a pool ladder...")
if(do_after(user, 5 SECONDS, target=src))
W.use(10)
//NSV13 - yeah I know 50 ladders are funny but lets not.
if(locate(/obj/structure/pool_ladder) in src)
return
if(!W.use(10))
return
///NSV13 end.
new /obj/structure/pool_ladder(src)
return TRUE

Expand Down

0 comments on commit 0636b8f

Please sign in to comment.