mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 02:54:41 +01:00
[s] Disposals now checks for density before expelling (#22274)
* Disposals now checks for density before expelling * Update code/modules/recycling/disposal.dm Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com> --------- Co-authored-by: Adrer <adrermail@gmail.com> Co-authored-by: SteelSlayer <42044220+SteelSlayer@users.noreply.github.com>
This commit is contained in:
@@ -796,7 +796,10 @@
|
||||
|
||||
H.forceMove(P)
|
||||
else // if wasn't a pipe, then set loc to turf
|
||||
H.forceMove(T)
|
||||
if(is_blocked_turf(T))
|
||||
H.forceMove(loc)
|
||||
else
|
||||
H.forceMove(T)
|
||||
return null
|
||||
|
||||
return P
|
||||
|
||||
Reference in New Issue
Block a user