Fix [random_placement] executing the code for each element twice (fixes #3663)

This commit is contained in:
Celtic Minstrel 2018-10-27 13:56:42 -04:00 committed by GitHub
parent 858444b8b3
commit c4f2e839ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -92,7 +92,6 @@ wesnoth.wml_actions.random_placement = function(cfg)
return
end
end
wesnoth.wml_actions.command (command)
end
utils.end_var_scope(variable, variable_previous)