From 68be13ed3936672a98f884e0eaa84838c5841879 Mon Sep 17 00:00:00 2001 From: chip Date: Sun, 18 Oct 2020 21:54:47 +0200 Subject: [PATCH] Feat(Main:Client): Fetching event when opening the phone --- resources/client/cl_main.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/client/cl_main.ts b/resources/client/cl_main.ts index 5f4d7f2..a638865 100644 --- a/resources/client/cl_main.ts +++ b/resources/client/cl_main.ts @@ -151,6 +151,7 @@ async function Phone() { isPhoneOpen = true await phoneOpenAnim() emitNet(events.CONTACTS_GET_CONTACTS); + emitNet(events.SELLOUT_FETCH_LISTING); emitNet('phone:getCredentials') // Gets the credentials. Will eventually most likely only get the phone number and name, idk. SetCursorLocation(0.936, 0.922) //Experimental let res = GetActiveScreenResolution() @@ -188,6 +189,7 @@ async function Phone() { isPhoneOpen = true await phoneOpenAnim() emitNet(events.CONTACTS_GET_CONTACTS); + emitNet(events.SELLOUT_FETCH_LISTING); emitNet('phone:getCredentials') SetCursorLocation(0.936, 0.922) //Experimental let res = GetActiveScreenResolution()