diff options
| author | Cerapter <cerap@protonmail.com> | 2018-09-15 02:33:18 +0200 |
|---|---|---|
| committer | Cerapter <cerap@protonmail.com> | 2018-09-15 02:33:18 +0200 |
| commit | fcd8f5b5abb2329aded120007319d581908c8a69 (patch) | |
| tree | 5a3530435821555b51555768725bde1e267bd9a0 /courtroom.h | |
| parent | 86f91ba3e862b683becbc2d35539bc06a636c925 (diff) | |
Areas can now be spectatable, too.
- Makes it so that people can join, but can't type IC unless invited.
- The CM can set it with `/area_spectate`.
Diffstat (limited to 'courtroom.h')
| -rw-r--r-- | courtroom.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/courtroom.h b/courtroom.h index d15dde0e..3e1b2690 100644 --- a/courtroom.h +++ b/courtroom.h @@ -64,7 +64,7 @@ public: append_music(malplaced); } - void arup_append(int players, QString status, QString cm, bool locked) + void arup_append(int players, QString status, QString cm, QString locked) { arup_players.append(players); arup_statuses.append(status); @@ -88,7 +88,7 @@ public: } else if (type == 3) { - arup_locks[place] = (value == "True"); + arup_locks[place] = value; } list_areas(); } @@ -253,7 +253,7 @@ private: QVector<int> arup_players; QVector<QString> arup_statuses; QVector<QString> arup_cms; - QVector<bool> arup_locks; + QVector<QString> arup_locks; QSignalMapper *char_button_mapper; |
