diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2023-01-29 22:11:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-29 22:11:04 +0100 |
| commit | 50beb7de444e8cd544702e00da945853b9929bed (patch) | |
| tree | 7eacf19f5860d3d26c918ec7a6956d9c515f2dce /src/packet_distribution.cpp | |
| parent | 74b02513e36063dabcd8c3b38d18285176406913 (diff) | |
Fix incorrect judge-button display behaviour(#884)
Co-authored-by: stonedDiscord <Tukz@gmx.de>
Diffstat (limited to 'src/packet_distribution.cpp')
| -rw-r--r-- | src/packet_distribution.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index db7d261e..9c05b65f 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -388,7 +388,9 @@ void AOApplication::server_packet_received(AOPacket *p_packet) if (f_contents.size() >= 2) { // We have a pos included in the background packet! - w_courtroom->set_side(f_contents.at(1)); + if (!f_contents.at(1).isEmpty()) + //Not touching it when its empty. + w_courtroom->set_side(f_contents.at(1)); } w_courtroom->set_background(f_contents.at(0), f_contents.size() >= 2); } |
