mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-23 08:54:48 +00:00
nilrider:: user-created levels taken into account in nilrider.save
This commit is contained in:
@@ -581,7 +581,9 @@ void cleanup_textures() {
|
||||
|
||||
void load_level(const string& fname) {
|
||||
fhstream f(fname, "r");
|
||||
if(!f.f) throw hr_exception("could not open file ");
|
||||
level lev("Untitled", '1', nrlUserCreated, "", -1, 1, 1, -1, {}, 0, 0, {}, rot_plane, { goal{0x40FF40, "Collect all the triangles", basic_check(999, 999)} });
|
||||
lev.filename = fname;
|
||||
level *csub = &lev;
|
||||
string s;
|
||||
while(true) {
|
||||
|
||||
Reference in New Issue
Block a user