Typo fix for eos.gamedata.translations["Boolean"]

Fix for #1659.
I assume the second argument is a typo given the use case.
If not giving it a default value also works.
This commit is contained in:
MaruMaruOO
2018-07-08 21:44:55 -04:00
committed by GitHub
parent 819c0ba321
commit fe951e2ca1

View File

@@ -592,7 +592,7 @@ class Unit(EqBase):
lambda d: d * 1000.0,
lambda u: u),
"Boolean": (
lambda v, u: "Yes" if v == 1 else "No",
lambda v: "Yes" if v == 1 else "No",
lambda d: 1.0 if d == "Yes" else 0.0,
lambda u: ""),
"typeID": (