Mav why did you remove ConfigurationManager.startedInvasion without removing its use.

This commit is contained in:
high 2011-06-06 20:24:21 -04:00
parent 3bbbafc94d
commit cfc05e1663

View file

@ -501,8 +501,7 @@ namespace TShockAPI
Main.player[who].hostile = true; Main.player[who].hostile = true;
NetMessage.SendData(30, -1, -1, "", who); NetMessage.SendData(30, -1, -1, "", who);
} }
if (players[who].group.HasPermission("causeevents") && ConfigurationManager.infiniteInvasion && if (players[who].group.HasPermission("causeevents") && ConfigurationManager.infiniteInvasion)
!ConfigurationManager.startedInvasion)
{ {
StartInvasion(); StartInvasion();
} }