Skip to content

Commit 11d7c45

Browse files
committed
Ensure config is invalidated upon dup'd script aid
1 parent 5178f9a commit 11d7c45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

RLBotCS/ManagerTools/ConfigValidator.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ private static bool ValidateScripts(
245245
$"{ctx.ToStringWithEnd(Fields.AgentAgentId)} \"{script.AgentId}\" is already in use. "
246246
+ "Each script must have a unique agent ID."
247247
);
248+
valid = false;
248249
}
249250
else
250251
{

0 commit comments

Comments
 (0)