Better handling of filling empty slots.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -10,9 +10,6 @@ void TurnHandler::RunTurn(Battle* battle, ChoiceQueue* queue) {
|
||||
HOOK(OnBeforeTurn, choice, choice);
|
||||
}
|
||||
while (queue->HasNext()) {
|
||||
if (battle->HasRecalledSlots()) {
|
||||
return;
|
||||
}
|
||||
auto item = queue->Dequeue();
|
||||
ExecuteChoice(item);
|
||||
delete item;
|
||||
|
||||
Reference in New Issue
Block a user