send tournament result before battle end command
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user