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:
parent
2abb44b6d9
commit
063ad78a84
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue