mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 17:17:02 +00:00

fixes #1649 . ai.synced_command could easily be used to implement all types of undeteced cheats so it was removed. As a replacement this commit adds a [custom_command] synced command that just calls wesnoth.game_events.on_synced_command which calls a lua handler that must first be set.