4.10 support update (unfinished and untested).
This commit is contained in:
parent
eb624f15e3
commit
8e952f412f
80 changed files with 2343 additions and 2356 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue