mirror of
https://github.com/Michatec/wk_wars2x.git
synced 2026-04-01 00:16:27 +02:00
QSV must be closed for the system to register it as watched
This commit is contained in:
@@ -417,8 +417,6 @@ function RADAR:OpenRemote()
|
||||
|
||||
if ( show == 0 ) then
|
||||
SendNUIMessage( { _type = "showNewUser" } )
|
||||
|
||||
SetResourceKvpInt( "wk_wars2x_new_user", 1 )
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1501,6 +1499,11 @@ RegisterNUICallback( "saveUiData", function( data, cb )
|
||||
SetResourceKvp( "wk_wars2x_ui_data", json.encode( data ) )
|
||||
end )
|
||||
|
||||
-- Runs when the JavaScript side sends the quick start video has been watched
|
||||
RegisterNUICallback( "qsvWatched", function( data, cb )
|
||||
SetResourceKvpInt( "wk_wars2x_new_user", 1 )
|
||||
end )
|
||||
|
||||
|
||||
--[[----------------------------------------------------------------------------------
|
||||
Main threads
|
||||
|
||||
Reference in New Issue
Block a user