Replaced the last edit with Entity's hack

Looks nice, I think? O,o
This commit is contained in:
Corollax
2010-11-20 08:21:50 -06:00
parent ef13e9dee5
commit 4938e51e55

View File

@@ -73,10 +73,7 @@ class DamagePattern():
for pattern in imports:
if pattern.name in lookup:
match = lookup[pattern.name]
match.emAmount = pattern.emAmount
match.thermalAmount = pattern.thermalAmount
match.kineticAmount = pattern.kineticAmount
match.explosiveAmount = pattern.explosiveAmount
match.__dict__.update(pattern.__dict__)
else:
eos.db.save(pattern)
eos.db.commit()