Browse Source

add missing continue

pull/6117/merge
DakkJaniels 3 years ago committed by Stephen C. Wills
parent
commit
3d3cc31ebb
  1. 2
      Source/debug.cpp

2
Source/debug.cpp

@ -700,6 +700,7 @@ std::string DebugCmdSpawnUniqueMonster(const std::string_view parameter)
if (!parsedArg.has_value()) {
name.append(arg);
name += ' ';
continue;
}
const int num = parsedArg.value();
if (num > 0) {
@ -797,7 +798,6 @@ std::string DebugCmdSpawnMonster(const std::string_view parameter)
count = num;
break;
}
}
if (name.empty())
return "Monster name cannot be empty. Duh.";

Loading…
Cancel
Save