Skip to content

Commit 06ab263

Browse files
committed
examples/gui_action.lua - changed nan to NaN
1 parent bccc86c commit 06ab263

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎examples/gui_action.lua‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ dt.register_lib(
9090
label = "execute action",
9191
tooltip = "execute the action specified in the fields above",
9292
clicked_callback = function(_)
93-
local sp = nan
93+
local sp = NaN
9494
if wg.check.value then sp = wg.speed.text end
9595
wg.return_value.text = dt.gui.action(wg.action.text, wg.instance.value, wg.element.text, wg.effect.text, sp)
9696
end
@@ -102,4 +102,4 @@ dt.register_lib(
102102
wg.return_value
103103
},
104104
}
105-
)
105+
)

0 commit comments

Comments
 (0)