fix [set_variable] rand=

This commit is contained in:
gfgtdf 2016-07-09 21:40:08 +02:00
parent 69fb6aa9e7
commit 16014a9795

View file

@ -1124,7 +1124,7 @@ function wml_actions.set_variable(cfg)
end
if cfg.rand then
local random_string = cfg.rand
local random_string = tostring(cfg.rand)
local num_choices = 0
local items = {}