send tournament result before battle end command

This commit is contained in:
Martin Michelsen
2023-05-23 21:53:45 -07:00
parent 7ae87f9949
commit 03c26b587a
4 changed files with 14 additions and 2 deletions
+1
View File
@@ -61,6 +61,7 @@ void ServerBase::recreate_server() {
Server::Server(shared_ptr<ServerBase> base)
: w_base(base),
tournament_match_result_sent(false),
battle_finished(false),
battle_in_progress(false),
round_num(1),
+2
View File
@@ -242,6 +242,8 @@ private:
std::weak_ptr<ServerBase> w_base;
public:
bool tournament_match_result_sent; // Not part of original implementation
uint32_t battle_finished;
uint32_t battle_in_progress;
uint32_t round_num;