diff --git a/admin/index.php b/admin/index.php
index 39c3580..c34891f 100644
--- a/admin/index.php
+++ b/admin/index.php
@@ -772,7 +772,14 @@ tr:hover td{background:rgba(255,255,255,.015)}
-
🕹️ Game Management
+
+
🕹️ Game Management
+
+
+
+
@@ -1172,8 +1179,8 @@ loadStats();
loadPurchases('pending');
loadCashouts('pending');
loadUsers();
-// Initialize game form state on page load
-if (typeof resetGameForm === 'function') resetGameForm();
+// Initialize game form once DOM is ready
+document.addEventListener('DOMContentLoaded', () => resetGameForm());
async function loadStats() {
const d = await apiFetch('stats');
@@ -3428,7 +3435,7 @@ function showSec(name) {
if (name === 'referrals') { loadAdminReferrals('pending', document.querySelector('#section-referrals .ftab')); }
if (name === 'platform-accounts') loadPlatformAccountRequests('pending', document.querySelector('#section-platform-accounts .ftab'));
if (name === 'broadcasts') loadBroadcasts();
- if (name === 'games') { loadGames(); loadArchivedGames(); }
+ if (name === 'games') { loadGames(); loadArchivedGames(); resetGameForm(); }
if (name === 'payments') loadPaymentSettings();
if (name === 'payout-settings') loadPayoutSettings();
if (name === 'cashout-methods') loadCashoutMethods();