Skip to content

Commit

Permalink
1.3.4b
Browse files Browse the repository at this point in the history
  • Loading branch information
dretax committed May 4, 2015
1 parent 35495e9 commit 984423d
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions FougeritePlugins/Wiper/Wiper.py
@@ -1,5 +1,5 @@
__author__ = 'DreTaX'
__version__ = '1.3.4'
__version__ = '1.3.4b'

import clr

Expand Down Expand Up @@ -161,12 +161,8 @@ def On_PlayerDisconnected(self, Player):
return
today = datetime.date.today()
ini = self.GetIni()
if ini.GetSetting("Objects", id) is None:
ini.AddSetting("Objects", id, str(today))
ini.Save()
else:
ini.SetSetting("Objects", id, str(today))
ini.Save()
ini.SetSetting("Objects", id, str(today))
ini.Save()

def LaunchCheck(self):
ini = self.GetIni()
Expand Down Expand Up @@ -213,7 +209,8 @@ def ForceDecay(self):
v = EntityList.get(Entity.Name, None)
if v is None:
continue
Entity.Health = Entity.Health - v
Entity.GetTakeDamage().health -= v
Entity.UpdateHealth()

def WipeByID(self, id):
c = 0
Expand Down

0 comments on commit 984423d

Please sign in to comment.