push the lua enum string, not a number value of the enum
This commit is contained in:
@@ -2867,7 +2867,7 @@ namespace
|
||||
GameManager::GetStepsTypesForGame( pGame, vstAddTo );
|
||||
ASSERT( !vstAddTo.empty() );
|
||||
StepsType st = vstAddTo[0];
|
||||
lua_pushnumber(L, st);
|
||||
LuaHelpers::Push( L, st );
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user