Solution rejig (#12428)
This commit is contained in:
@@ -54,7 +54,7 @@ public sealed class SolutionSpikableSystem : EntitySystem
|
||||
return;
|
||||
}
|
||||
|
||||
if (targetSolution.CurrentVolume == 0 && !spikableSource.IgnoreEmpty)
|
||||
if (targetSolution.Volume == 0 && !spikableSource.IgnoreEmpty)
|
||||
{
|
||||
_popupSystem.PopupEntity(Loc.GetString(spikableSource.PopupEmpty, ("spiked-entity", target), ("spike-entity", source)), user, user);
|
||||
return;
|
||||
@@ -66,7 +66,7 @@ public sealed class SolutionSpikableSystem : EntitySystem
|
||||
targetSolution.MaxVolume,
|
||||
out var overflow))
|
||||
{
|
||||
if (overflow.TotalVolume > 0)
|
||||
if (overflow.Volume > 0)
|
||||
{
|
||||
RaiseLocalEvent(target, new SolutionSpikeOverflowEvent(overflow));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user