From c2f115b3105542151614b2b0f2527cce59401656 Mon Sep 17 00:00:00 2001 From: Corollax Date: Sat, 20 Nov 2010 07:08:56 -0600 Subject: [PATCH] Make the Uniform damage pattern show up But don't let it be deletable --- gui/patternEditor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gui/patternEditor.py b/gui/patternEditor.py index a8e1deca1..285f03eb6 100644 --- a/gui/patternEditor.py +++ b/gui/patternEditor.py @@ -40,9 +40,9 @@ class DmgPatternEditorDlg (wx.Dialog): cDP = service.DamagePattern.getInstance() self.choices = cDP.getDamagePatternList() - # Remove "Uniform" and "Selected Ammo" Damage Patterns + # Remove "Selected Ammo" Damage Patterns for dp in self.choices: - if dp.name in ("Uniform", "Selected Ammo"): + if dp.name is "Selected Ammo": self.choices.remove(dp) # Sort the remaining list and continue on self.choices.sort(key=lambda p: p.name)