GangwarFix zweiter Tag 10
This commit is contained in:
@@ -114,11 +114,18 @@ namespace ReallifeGamemode.Server.Gangwar
|
|||||||
this.timerCount = 0;
|
this.timerCount = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
private async Task reloadGangTurfs()
|
private void reloadGangTurfs()
|
||||||
{
|
{
|
||||||
await Task.Delay(10000);
|
var t = Task.Factory.StartNew(() =>
|
||||||
|
{
|
||||||
|
ChatService.Broadcast("DEBUG: reloadGangTurfs(...)");
|
||||||
|
Task.Delay(10000).Wait();
|
||||||
Gangwar.loadTurfs();
|
Gangwar.loadTurfs();
|
||||||
Gangwar.loadTurfs_ToAllPlayers();
|
Gangwar.loadTurfs_ToAllPlayers();
|
||||||
|
ChatService.Broadcast("DEBUG: reloadGangTurfs()...10 Sekunden um");
|
||||||
|
});
|
||||||
|
t.Wait();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Tick(object sender, System.Timers.ElapsedEventArgs e)
|
private void Tick(object sender, System.Timers.ElapsedEventArgs e)
|
||||||
|
|||||||
Reference in New Issue
Block a user