Zabiju je 2. Epicky thriller od tvurce Zabiju je
This commit is contained in:
@@ -176,12 +176,10 @@ namespace Subsystems
|
||||
taskComponent.TaskLocation = (entry.ServerTask.Location.Lat, entry.ServerTask.Location.Lon);
|
||||
|
||||
bool done = false;
|
||||
bool exited = false;
|
||||
taskComponent.Initialize(t => { done = true; });
|
||||
taskComponent.ExitTask(t => { exited = true; });
|
||||
|
||||
// Wait for completion or exit
|
||||
yield return new WaitUntil(() => done || exited);
|
||||
yield return new WaitUntil(() => done);
|
||||
|
||||
yield return FinishMinigame(entry, done);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user