const int StartWarpTID = 7764;

class StartWarpFix : ScriptObject
{
	kActor @self;

	StartWarpFix(kActor @actor)
	{
		@self = actor;
	}
	
	void OnSpawn(void)
	{
		if (!self.IsMarked())
		{
			DoPlayerWarp(0, StartWarpTID, Game.ActiveMapID(), false);
			self.Mark(true);
		}
	}
};
