From 8f01f110656b41f0e78aea7763b4fdbe63cae1f1 Mon Sep 17 00:00:00 2001 From: Toom Date: Fri, 26 Jan 2024 17:21:15 +0200 Subject: [PATCH] Remove warning about weapon specials with no name since name is not mandatory --- data/tools/unit_tree/html_output.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/data/tools/unit_tree/html_output.py b/data/tools/unit_tree/html_output.py index 3929c262837..5f3b4af7f7c 100644 --- a/data/tools/unit_tree/html_output.py +++ b/data/tools/unit_tree/html_output.py @@ -1238,9 +1238,6 @@ class HTMLOutput: sname = T(special, "name") if sname: s.append(cleantext(sname, quote=False)) - else: - error_message("Warning: Weapon special %s has no name for %s.\n" % - (special.name.decode("utf8"), uid)) accuracy = attack.get_text_val("accuracy", default="0") parry = attack.get_text_val("parry", default="0") if accuracy != "0":