fix incorrect GoalType strings

This commit is contained in:
Chris Danford
2005-02-19 01:02:15 +00:00
parent c435ed509a
commit 4495a55e98
+1 -1
View File
@@ -262,7 +262,7 @@ void LuaGoalType(lua_State* L)
{
CString s = GoalTypeNames[gt];
s.MakeUpper();
LUA->SetGlobal( "GOAL_TYPE_"+s, gt );
LUA->SetGlobal( "GOAL_"+s, gt );
}
}
REGISTER_WITH_LUA_FUNCTION( LuaGoalType );