fix SetPlayerOptions

This commit is contained in:
Glenn Maynard
2007-04-25 03:31:07 +00:00
parent 9978102d25
commit b9af8c094c
+1 -4
View File
@@ -189,10 +189,7 @@ public:
static int SetPlayerOptions( T* p, lua_State *L )
{
ModsLevel m = Enum::Check<ModsLevel>( L, 1 );
PlayerOptions po;
po.FromString( SArg(2) );
p->m_PlayerOptions.Assign( m, po );
p->m_PlayerOptions.FromString( m, SArg(2) );
return 0;
}