mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-25 13:07:46 +01:00
Clean up of AStar procs, rework one into an independant adjacent turf proc (#20011)
* Should have done that the first time around * Update turf.dm * Got the order reversed
This commit is contained in:
@@ -377,7 +377,7 @@
|
||||
if("tank") //Fishtank: Wets it's own tile and the 4 adjacent tiles (cardinal directions)
|
||||
if(istype(T))
|
||||
T.MakeSlippery()
|
||||
for(var/turf/simulated/ST in T.CardinalTurfs())
|
||||
for(var/turf/simulated/ST in T.AdjacentTurfs(open_only = TRUE, cardinal_only = TRUE))
|
||||
ST.MakeSlippery()
|
||||
if("wall") //Wall-tank: Wets it's own tile and the surrounding 8 tiles (3x3 square)
|
||||
for(var/turf/simulated/ST in spiral_range_turfs(1, loc))
|
||||
|
||||
Reference in New Issue
Block a user