Fixed a bug with area-less servers and ARUP
.
A server with no areas will no longer crash the client upon joining.
This commit is contained in:
parent
def23b10ff
commit
50af363b73
@ -66,9 +66,12 @@ public:
|
||||
|
||||
void fix_last_area()
|
||||
{
|
||||
if (area_list.size() > 0)
|
||||
{
|
||||
QString malplaced = area_list.last();
|
||||
area_list.removeLast();
|
||||
append_music(malplaced);
|
||||
}
|
||||
}
|
||||
|
||||
void arup_append(int players, QString status, QString cm, QString locked)
|
||||
|
Loading…
Reference in New Issue
Block a user