mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 03:25:49 +01:00
return if anchored or unmovable
This commit is contained in:
@@ -311,7 +311,9 @@
|
||||
/atom/movable/proc/experience_pressure_difference(pressure_difference, direction)
|
||||
if(last_forced_movement >= SSair.times_fired)
|
||||
return 0
|
||||
else if((!anchored || move_resist != INFINITY) && !pulledby)
|
||||
if(anchored || move_resist == INFINITY)
|
||||
return 0
|
||||
else if(!pulledby)
|
||||
var/turf/target = get_turf(src)
|
||||
var/datum/gas_mixture/target_air = target.return_air()
|
||||
if(isspaceturf(target) || isunsimulatedturf(target) || pressure_resistance > target_air.return_pressure())
|
||||
|
||||
Reference in New Issue
Block a user