mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-24 20:59:29 +00:00
Remove warning about weapon specials with no name since name is not mandatory
This commit is contained in:
parent
75f524fc22
commit
8f01f11065
@ -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":
|
||||
|
Loading…
x
Reference in New Issue
Block a user