From fe951e2ca112ce4d77bd469e1685506d8e62dc2c Mon Sep 17 00:00:00 2001 From: MaruMaruOO <37426450+MaruMaruOO@users.noreply.github.com> Date: Sun, 8 Jul 2018 21:44:55 -0400 Subject: [PATCH] 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. --- eos/gamedata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eos/gamedata.py b/eos/gamedata.py index 342a4caf4..243f71bad 100644 --- a/eos/gamedata.py +++ b/eos/gamedata.py @@ -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": (