Skip to content

Commit

Permalink
Update regrass.cpp - Maps::isValid is cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
Bumber64 authored Sep 20, 2024
1 parent d165e27 commit 86f98b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/regrass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ command_result df_regrass(color_ostream &out, vector<string> &parameters)
out.printerr("Invalid pos for --block (or used more than one!)\n");
return CR_WRONG_USAGE;
}
else if (!Core::getInstance().isMapLoaded()) {
else if (!Maps::IsValid()) {
out.printerr("Map not loaded!\n");
return CR_FAILURE;
}
Expand Down

0 comments on commit 86f98b0

Please sign in to comment.