Skip to content

Commit 86f98b0

Browse files
authored
Update regrass.cpp - Maps::isValid is cleaner
1 parent d165e27 commit 86f98b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/regrass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ command_result df_regrass(color_ostream &out, vector<string> &parameters)
458458
out.printerr("Invalid pos for --block (or used more than one!)\n");
459459
return CR_WRONG_USAGE;
460460
}
461-
else if (!Core::getInstance().isMapLoaded()) {
461+
else if (!Maps::IsValid()) {
462462
out.printerr("Map not loaded!\n");
463463
return CR_FAILURE;
464464
}

0 commit comments

Comments
 (0)