Remove warning about weapon specials with no name since name is not mandatory

This commit is contained in:
Toom 2024-01-26 17:21:15 +02:00 committed by GitHub
parent 75f524fc22
commit 8f01f11065
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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":