Update deprecated stuff in [store_time_of_day]
This commit is contained in:
parent
96b5bf43ef
commit
9a74447946
1 changed files with 2 additions and 2 deletions
|
@ -12,9 +12,9 @@ function wesnoth.wml_actions.store_time_of_day(cfg)
|
|||
|
||||
local out
|
||||
if x and y then
|
||||
out = wesnoth.get_time_of_day(turn, {x, y})
|
||||
out = wesnoth.schedule.get_time_of_day(x, y, turn)
|
||||
else
|
||||
out = wesnoth.get_time_of_day(turn)
|
||||
out = wesnoth.schedule.get_time_of_day(nil, turn)
|
||||
end
|
||||
|
||||
for key, value in pairs(out) do
|
||||
|
|
Loading…
Add table
Reference in a new issue