* Mannequin

* rsi license fix

* damage container fix

* container fix

hope this works

* layers fix + appearance comp (mb it help?)

* maybe fixed?

* one day it will work...

* can't even understand why test failing... (maybe fix?)

* last try?
This commit is contained in:
BombasterDS
2024-06-16 03:50:55 +10:00
committed by GitHub
parent 5dbee6fc41
commit 81e41f8e8d
7 changed files with 224 additions and 1 deletions

View File

@@ -308,7 +308,7 @@ public sealed class SuitSensorSystem : EntitySystem
return null;
// check if sensor is enabled and worn by user
if (sensor.Mode == SuitSensorMode.SensorOff || sensor.User == null || transform.GridUid == null)
if (sensor.Mode == SuitSensorMode.SensorOff || sensor.User == null || !HasComp<MobStateComponent>(sensor.User) || transform.GridUid == null)
return null;
// try to get mobs id from ID slot