fix
This commit is contained in:
@@ -38,7 +38,6 @@ namespace ReallifeGamemode.Server.Gangwar
|
|||||||
this.Att_Score = 5;
|
this.Att_Score = 5;
|
||||||
this.Def_Score = 5;
|
this.Def_Score = 5;
|
||||||
this.status = "normal";
|
this.status = "normal";
|
||||||
this.playerInside = new Client[0];
|
|
||||||
this.timer = null;
|
this.timer = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -86,6 +85,7 @@ namespace ReallifeGamemode.Server.Gangwar
|
|||||||
|
|
||||||
private void update()
|
private void update()
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
Client[] owners = NAPI.Pools.GetAllPlayers().Where(c => c.GetUser().Faction.Name == this.Owner).ToArray();
|
Client[] owners = NAPI.Pools.GetAllPlayers().Where(c => c.GetUser().Faction.Name == this.Owner).ToArray();
|
||||||
@@ -102,7 +102,6 @@ namespace ReallifeGamemode.Server.Gangwar
|
|||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*
|
|
||||||
if (owners.Length > attackers.Length)
|
if (owners.Length > attackers.Length)
|
||||||
this.Att_Score -= owners.Length - attackers.Length;
|
this.Att_Score -= owners.Length - attackers.Length;
|
||||||
if(owners.Length < attackers.Length)
|
if(owners.Length < attackers.Length)
|
||||||
|
|||||||
Reference in New Issue
Block a user