1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-24 01:00:25 +00:00

arb:: error when unrecognized command, instead of hanging

This commit is contained in:
Zeno Rogue 2019-12-27 01:44:16 +01:00
parent ab283002f1
commit 07bca8059d

View File

@ -135,6 +135,7 @@ void load(const string& fname) {
c.shapes[ai].connections[as] = {bi, bs, m};
c.shapes[bi].connections[bs] = {ai, as, m};
}
else throw hr_parse_exception("expecting command");
}
}