From 134ef287afba6ca468c9a984199db4bfcb3c54e3 Mon Sep 17 00:00:00 2001 From: shamoanjac Date: Sat, 27 Aug 2016 16:22:44 +0200 Subject: [PATCH] Disabled war --- factions.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/factions.lua b/factions.lua index 5461172..d208379 100644 --- a/factions.lua +++ b/factions.lua @@ -392,7 +392,7 @@ function factions.Faction.is_online(self) end function factions.Faction.attack_parcel(self, parcelpos) - local attacked_faction = factions.get_parcel_faction(parcelpos) +--[[ local attacked_faction = factions.get_parcel_faction(parcelpos) if attacked_faction then self.power = self.power - factions.power_per_attack if attacked_faction.attacked_parcels[parcelpos] then @@ -406,6 +406,7 @@ function factions.Faction.attack_parcel(self, parcelpos) end factions.save() end + ]] end function factions.Faction.stop_attack(self, parcelpos)