push the lua enum string, not a number value of the enum

This commit is contained in:
Chris Danford
2008-11-27 02:54:08 +00:00
parent 6f30e43283
commit f076363776
+1 -1
View File
@@ -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;
}