From 3d3cc31ebbaab05802eed20d1ee7edbc625e0059 Mon Sep 17 00:00:00 2001 From: DakkJaniels <6080734+DakkJaniels@users.noreply.github.com> Date: Mon, 11 Sep 2023 12:14:00 -0400 Subject: [PATCH] add missing continue --- Source/debug.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/debug.cpp b/Source/debug.cpp index b14bf65c0..65f23c71a 100644 --- a/Source/debug.cpp +++ b/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.";