URL: <http://gna.org/bugs/?22082>
Summary: Lua disaster signal can't suppress message "We survived the disaster without serious damages." Project: Freeciv Submitted by: jtn Submitted on: Sun 25 May 2014 12:08:34 BST Category: None Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: Any Planned Release: 2.5.0, 2.6.0 _______________________________________________________ Details: In apply_disaster(), if none of the built-in disasters fire, the message "We survived the disaster without serious damages." is emitted before the script signal fires. This may be unwanted for disasters implemented in Lua. Unfortunately I don't think there's any way for the Lua signal handler to return whether a disaster occurred. Perhaps we can move the emission of the message to a default signal handler in default.lua instead, and make emitting the message ruleset Lua's responsibility? (Alternatively we could just get rid of the message.) _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?22082> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev