Assign to a particular level, don't just combine. Fixes second extra stage using first extra stage's mods.

This commit is contained in:
Steve Checkoway
2007-09-10 03:44:36 +00:00
parent 3b1ff6c10c
commit 555dbc3d52
+3 -1
View File
@@ -196,7 +196,9 @@ public:
static int SetPlayerOptions( T* p, lua_State *L )
{
ModsLevel m = Enum::Check<ModsLevel>( L, 1 );
p->m_PlayerOptions.FromString( m, SArg(2) );
PlayerOptions po;
po.FromString( SArg(2) );
p->m_PlayerOptions.Assign( m, po );
return 0;
}
static int GetPlayerOptions( T* p, lua_State *L )