mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-09 19:36:49 +00:00
fix [teleport]
This commit is contained in:
parent
ae5414d67e
commit
9757ab4158
@ -1001,7 +1001,7 @@ wml_actions.teleport = function(cfg)
|
||||
-- No error if no unit matches.
|
||||
return
|
||||
end
|
||||
wesnoth.teleport(unit, cfg.check_passability == false, cfg.clear_shroud ~= false, cfg.animate)
|
||||
wesnoth.teleport(unit, cfg.x, cfg.y, cfg.check_passability == false, cfg.clear_shroud ~= false, cfg.animate)
|
||||
end
|
||||
|
||||
function wml_actions.remove_sound_source(cfg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user