Permanent enchantment

this script creates a permanent global enchantment. At the start of each round if the enchantment isn't in play it will be added to the game. Feel free to change Hunting Grounds to a different world enchantment. Script by angelatheist.

void configGame()
{
   setNumPlayers(2);
}

bool notInPlay;
string enchantName;

void beforeStart()
{
   enchantName = "Hunting Grounds";

   createEntity(enchantName,createLocation(-1,-1));

}

void onNewRound(){
   notInPlay = true;
   forEachEntity();
   if(notInPlay){	   
      createEntity(enchantName,createLocation(-1,-1));
   }
}

bool entityCallback(Entity ent){
   if(ent.getName() == enchantName ){
      notInPlay = false;
      return false;
   }
   return true;
}