ignore client rules in tournament matches

This commit is contained in:
Martin Michelsen
2023-09-23 09:11:22 -07:00
parent 14973f7453
commit 85897baaeb
3 changed files with 14 additions and 7 deletions
+3 -2
View File
@@ -12,6 +12,7 @@
#include "MapState.hh"
#include "PlayerState.hh"
#include "RulerServer.hh"
#include "Tournament.hh"
struct Lobby;
@@ -63,7 +64,7 @@ public:
std::shared_ptr<const MapIndex> map_index,
uint32_t behavior_flags,
std::shared_ptr<PSOLFGEncryption> random_crypt,
std::shared_ptr<const MapIndex::MapEntry> map_if_tournament);
std::shared_ptr<const Tournament> tournament);
~Server() noexcept(false);
void init();
@@ -233,7 +234,7 @@ public:
uint32_t behavior_flags;
std::shared_ptr<PSOLFGEncryption> random_crypt;
std::shared_ptr<const MapIndex::MapEntry> last_chosen_map;
bool is_tournament;
std::shared_ptr<const Tournament> tournament;
bool tournament_match_result_sent;
uint8_t override_environment_number;
mutable std::deque<StackLogger*> logger_stack;