From b9af8c094c07e1e30038876c3f1d99d293fc2352 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 25 Apr 2007 03:31:07 +0000 Subject: [PATCH] fix SetPlayerOptions --- stepmania/src/PlayerState.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/stepmania/src/PlayerState.cpp b/stepmania/src/PlayerState.cpp index 319cf80509..729e567932 100644 --- a/stepmania/src/PlayerState.cpp +++ b/stepmania/src/PlayerState.cpp @@ -189,10 +189,7 @@ public: static int SetPlayerOptions( T* p, lua_State *L ) { ModsLevel m = Enum::Check( L, 1 ); - - PlayerOptions po; - po.FromString( SArg(2) ); - p->m_PlayerOptions.Assign( m, po ); + p->m_PlayerOptions.FromString( m, SArg(2) ); return 0; }