mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-07 20:09:20 +00:00
fix [set_variable] rand=
This commit is contained in:
parent
69fb6aa9e7
commit
16014a9795
@ -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 = {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user