Rename Caustic to Tachyon

This commit is contained in:
DarkPhoenix
2020-12-08 19:30:21 +03:00
parent 05ab2d47c7
commit 008b6a887d

View File

@@ -206,16 +206,17 @@ class AddEnvironmentEffect(ContextMenuUnconditional):
for beacon in sMkt.getGroup("Abyssal Hazards").items:
if not beacon.isType('projected'):
continue
groups = (_t('Bioluminescence'), _t('Caustic'), _t('Filament'))
name = beacon.name.replace(_t('Caustic'), _t('Tachyon'))
groups = (_t('Bioluminescence'), _t('Tachyon'), _t('Filament'))
for group in groups:
if re.search(group, beacon.name):
if re.search(group, name):
key = group
break
else:
continue
subsubdata = subdata.groups.setdefault(key, Group())
subsubdata.items.append(Entry(beacon.ID, beacon.name, beacon.name))
subsubdata.items.append(Entry(beacon.ID, name, name))
subdata.sort()
# PVP weather