#include "MW4Headers.hpp"
#include "Flag.hpp"


void Flag::SaveInstanceText(Stuff::Page *page)
{
	BaseClass::SaveInstanceText(page);

	MString s(instanceName);
	s.ToLower();

	if (s == "flag_team0")
	{
		s = "Flag";
	}
	else if (s == "flag_team1")
	{
		s = "Blue Flag";
	}
	else if (s == "flag_team2")
	{
		s = "Red Flag";
	}

	page->SetEntry("LocalizedInstanceName", s);
}
