A little bit of buffer goes a long way
This commit is contained in:
@@ -199,6 +199,9 @@ public sealed partial class BrainDamageSystem : EntitySystem
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (ent.Comp1.Oxygen > 0)
|
||||||
|
return;
|
||||||
|
|
||||||
var evt = new BeforeDealBrainDamage(chance);
|
var evt = new BeforeDealBrainDamage(chance);
|
||||||
RaiseLocalEvent(ent, ref evt);
|
RaiseLocalEvent(ent, ref evt);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user