added demonserver workaround and incremented version

This commit is contained in:
OmniTroid 2017-03-22 20:32:35 +01:00
parent 7af0cbfd1c
commit 842b1a58e9
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@ RC_ICONS = logo.ico
TARGET = Attorney_Online_remake TARGET = Attorney_Online_remake
TEMPLATE = app TEMPLATE = app
VERSION = 2.3.0.0 VERSION = 2.3.1.0
SOURCES += main.cpp\ SOURCES += main.cpp\
lobby.cpp \ lobby.cpp \

View File

@ -132,7 +132,7 @@ public:
private: private:
const int RELEASE = 2; const int RELEASE = 2;
const int MAJOR_VERSION = 3; const int MAJOR_VERSION = 3;
const int MINOR_VERSION = 0; const int MINOR_VERSION = 1;
QString user_theme = "default"; QString user_theme = "default";

View File

@ -1927,7 +1927,7 @@ void Courtroom::on_evidence_button_clicked()
void Courtroom::ping_server() void Courtroom::ping_server()
{ {
ao_app->send_server_packet(new AOPacket("CH#" + QString::number(m_cid) + "#%")); ao_app->send_server_packet(new AOPacket("CH#" + QString::number(m_cid) + "#%"));
disconnect_timer->start(10000); disconnect_timer->start(20000);
} }
void Courtroom::check_connection_received() void Courtroom::check_connection_received()