English OBT + Bugfixes (#1029)

* ts

* Test - without spawning at all

* Update coffin.yml

* Update CP14UniqueLootSystem.cs
This commit is contained in:
Ed
2025-03-15 20:12:38 +03:00
committed by GitHub
parent 41f33bf005
commit ff98037854
8 changed files with 28 additions and 22 deletions

View File

@@ -32,8 +32,12 @@ public sealed partial class CP14UniqueLootSystem : EntitySystem
if (loot == null)
return;
if (!Deleted(ent))
SpawnAtPosition(loot, Transform(ent).Coordinates);
if (TerminatingOrDeleted(ent) || !Exists(ent))
return;
var coords = Transform(ent).Coordinates;
EntityManager.SpawnEntity(loot, coords);
}