Assign to a particular level, don't just combine. Fixes second extra stage using first extra stage's mods.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user