fix SetPlayerOptions
This commit is contained in:
@@ -189,10 +189,7 @@ public:
|
|||||||
static int SetPlayerOptions( T* p, lua_State *L )
|
static int SetPlayerOptions( T* p, lua_State *L )
|
||||||
{
|
{
|
||||||
ModsLevel m = Enum::Check<ModsLevel>( L, 1 );
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user