mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-23 01:47:39 +00:00
arb:: error when unrecognized command, instead of hanging
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user