Commit 50183ce
committed
fix: skip GFX loading screen on main menu return after first launch
The static s_mainMenuGfxLoadingShown flag was reset on every UI module reload (e.g. on map exit), causing the GFX loading screen to reappear when returning to the main menu. Replaced with a persistent cvar (ui_gfxLoadingShown) that survives UI reinitialization, so the screen is only shown once per session.1 parent 0d32965 commit 50183ce
1 file changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1247 | 1247 | | |
1248 | 1248 | | |
1249 | 1249 | | |
| 1250 | + | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
1250 | 1255 | | |
1251 | 1256 | | |
1252 | 1257 | | |
| |||
1271 | 1276 | | |
1272 | 1277 | | |
1273 | 1278 | | |
1274 | | - | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
| 1282 | + | |
| 1283 | + | |
| 1284 | + | |
1275 | 1285 | | |
1276 | 1286 | | |
1277 | 1287 | | |
| |||
1286 | 1296 | | |
1287 | 1297 | | |
1288 | 1298 | | |
| 1299 | + | |
| 1300 | + | |
| 1301 | + | |
| 1302 | + | |
| 1303 | + | |
| 1304 | + | |
1289 | 1305 | | |
1290 | 1306 | | |
1291 | 1307 | | |
| |||
0 commit comments