Reveal book: no scratch holds a departed entity, a destroyed lit gun is refused at the gate, one IsDestroyed rule, departure and allocation pins
Not verified yet at this commit (build and tests run next). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
396c02b08f
commit
c212ec0232
6 changed files with 198 additions and 22 deletions
|
|
@ -290,7 +290,7 @@ public class EntityInstance : MonoBehaviour
|
|||
|
||||
_subscriptions.Add(Entity.HullDamage.Subscribe(_ =>
|
||||
{
|
||||
if (Entity.Hull.Durability < .01f)
|
||||
if (Entity.Hull.IsDestroyed)
|
||||
{
|
||||
if (!this) return;
|
||||
_destroyed = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue