Maelstrom: Create a new local ID when resetting the game info

From 7df4dbb464f227614fe08ef06cf57762ecec7245 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Mon, 6 Apr 2026 16:19:18 -0700
Subject: [PATCH] Create a new local ID when resetting the game info

---
 game/gameinfo.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/game/gameinfo.cpp b/game/gameinfo.cpp
index 16eae493..7e4ec7e0 100644
--- a/game/gameinfo.cpp
+++ b/game/gameinfo.cpp
@@ -29,13 +29,13 @@
 
 GameInfo::GameInfo()
 {
-	localID = SDL_rand(SDL_MAX_SINT32);
 	Reset();
 }
 
 void
 GameInfo::Reset()
 {
+	localID = SDL_rand(SDL_MAX_SINT32);
 	gameID = 0;
 	seed = 0;
 	wave = 0;