1
Fork 0
mirror of https://github.com/redstrate/Kawari.git synced 2025-06-30 11:47:45 +00:00

Don't need tonumber for results

This commit is contained in:
The Dax 2025-06-22 16:09:11 -04:00 committed by Joshua Goins
parent 2abb44b6d9
commit 063ad78a84

View file

@ -9,7 +9,7 @@ end
function onReturn(scene, results, player)
local AETHERNET_MENU_CANCEL = 0
local destination = tonumber(results[1])
local destination = results[1]
player:finish_event(EVENT_ID)
if destination ~= AETHERNET_MENU_CANCEL then