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

In cbd3c2644, a Lua API to victory and defeat music was added, which exposes it as a vector of strings. However, the [endlevel] implementation passed the comma-separated string directly. This commit splits the string before passing it to the Lua API.