changessss

This commit is contained in:
weskified 2026-06-25 23:17:12 +08:00
parent 04783f0d6a
commit 77919fe3e7
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ public sealed class IonStormRule : StationEventSystem<IonStormRuleComponent>
if (!TryComp<ActorComponent>(ent, out var actor))
continue;
if (!RobustRandom.Prob(synthComp.AlertChance))
if (RobustRandom.Prob(synthComp.AlertChance))
{
var msg = Loc.GetString("station-event-ion-storm-synth");
var wrappedMessage = Loc.GetString("chat-manager-server-wrap-message", ("message", msg));
@ -47,7 +47,7 @@ public sealed class IonStormRule : StationEventSystem<IonStormRuleComponent>
}
// DV start - super duper fucked up thing for synths
if (synthComp.IonStormAffected && !RobustRandom.Prob(comp.SynthElectrocutionChance))
if (synthComp.IonStormAffected && RobustRandom.Prob(comp.SynthElectrocutionChance))
{
var delay = RobustRandom.Next(TimeSpan.FromSeconds(comp.SynthElectrocutionDelayMin), TimeSpan.FromSeconds(comp.SynthElectrocutionDelayMax)); // they'll never know when it'll hit them
Timer.Spawn(delay, () =>