4.10 support update (unfinished and untested).

This commit is contained in:
Mari the Deer 2022-12-05 02:10:56 +01:00
commit 8e952f412f
80 changed files with 2343 additions and 2356 deletions

View file

@ -20,10 +20,10 @@ Class MadcatGameStateManager : Thinker
{
let gsm = MadcatGameStateManager(ThinkerIterator.Create("MadcatGameStateManager").Next());
if ( !gsm ) ThrowAbortException("Game State Manager not found.");
for ( int i=0; i<gsm.GameState.Size(); i++ )
foreach ( gs:gsm.GameState )
{
if ( gsm.GameState[i].GameName != GameName ) continue;
return gsm.GameState[i];
if ( gs.GameName != GameName ) continue;
return gs;
}
return null;
}