public static void end(
public static void end() { if (polekeeper != null) { kernel.sendworldmessage(new message("the guild, " + polekeeper.name + ", owned by " + polekeeper.leadername + " has won this guild war!---guild war has ended!", system.drawing.color.white, message.center), program.values); //ahmedfathy.database.entitytable.status2(); } else { kernel.sendworldmessage(new message("guild war has ended and there was no winner!", system.drawing.color.red, message.center), program.values); //ahmedfathy.database.entitytable.status2(); } iswar = false; claim = true; updatepole(pole); foreach (client.gamestate client in program.values) { //client.entity.status2 = 0; //client.entity.removeflag(network.gamepackets.update.flags.topdeputyleader); //client.entity.removeflag(network.gamepackets.update.flags.topguildleader); } }