BUGFIX: Fix webstorm by using a mutationLock (#2542)

This commit is contained in:
David Walker
2026-03-06 11:11:06 -08:00
committed by GitHub
parent 90f6db6d24
commit b6a29681f4
10 changed files with 131 additions and 44 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ const decorateName = (name: string): string => {
// Just in case we hit a lot of the same name mutations, or if the player
// messes with Math.random(), prevent an infinite loop
updatedName += `/T${Date.now()}`;
break;
continue;
}
const connector = connectors[Math.floor(Math.random() * connectors.length)];