No comment. We do not speak of this.
This commit is contained in:
6
webui.py
6
webui.py
@@ -163,9 +163,9 @@ def set_ai_level(value, nid, ai_slots):
|
|||||||
"Master": 5,
|
"Master": 5,
|
||||||
"Impossible": 6,
|
"Impossible": 6,
|
||||||
}
|
}
|
||||||
ai_slots[:] = [
|
for ai in ai_slots:
|
||||||
(nation_id, ai_level) for nation_id, ai_level in ai_slots if nation_id != nid
|
if ai[0] == nid:
|
||||||
]
|
ai_slots.remove(ai)
|
||||||
if value == "Human":
|
if value == "Human":
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user