@@ -93,7 +93,7 @@ public sealed class XenoborgsRuleSystem : GameRuleSystem<XenoborgsRuleComponent>
|
|||||||
var numXenoborgs = GetNumberXenoborgs();
|
var numXenoborgs = GetNumberXenoborgs();
|
||||||
var numHumans = _mindSystem.GetAliveHumans().Count;
|
var numHumans = _mindSystem.GetAliveHumans().Count;
|
||||||
|
|
||||||
if ((float)numXenoborgs / numHumans > xenoborgsRuleComponent.XenoborgShuttleCallPercentage)
|
if ((float)numXenoborgs / (numHumans + numXenoborgs) > xenoborgsRuleComponent.XenoborgShuttleCallPercentage)
|
||||||
{
|
{
|
||||||
foreach (var station in _station.GetStations())
|
foreach (var station in _station.GetStations())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user