mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-30 22:51:17 +00:00
Fix missing return in on_event()
This commit is contained in:
parent
e776635023
commit
d4e08359dd
@ -20,6 +20,7 @@ local function on_event(eventname, arg1, arg2)
|
||||
if string.match(eventname, ",") then
|
||||
for elem in utils.split(eventname or "") do
|
||||
on_event(elem, arg1, arg2)
|
||||
return
|
||||
end
|
||||
end
|
||||
local priority = 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user