aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCerapter <cerap@protonmail.com>2018-12-17 11:08:20 +0100
committerCerapter <cerap@protonmail.com>2018-12-17 11:08:20 +0100
commit73b6e72ab90934eea7118793a1b71b9b53d508c8 (patch)
treee9d7178ee4334145388745e0d60d635c871f6fed /src
parent144a5bb64b5dab98d9fa631d8bf627c650d242b1 (diff)
Fix judge buttons not appearing & crash if MS goes down during play.
The former was caused by the position dropdown simply not having code to make the judge buttons appear. Alongside that, the issue(?) where `/pos judddd` (or variations) would not put the user in the judge position, but gave them the buttons anyway. The latter was caused by a simple mistake. We deleted the Lobby (and the Courtroom) frequently, however, we never did set its (their) pointer(s) back to null -- so they pointer to trash data, and the `if (w_lobby != nullptr)` part never failed. This is also now fixed, and deletion of the Lobby or the Courtroom also brings about the nulling of their pointers.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions