mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +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:
co-authored by
SteelSlayer
Adrer
parent
6ae2cce8c6
commit
0b36b64ed8
@@ -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