mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 22:16:54 +00:00
del(client): remove ESX on client runtime
This commit is contained in:
1 parent
75e23b783c
commit
e18c39169e
1 file changed
-9
@@ -1,4 +1,3 @@
|
||||
import { Client } from 'esx.js';
|
||||
import ClientUtils from './cl_utils';
|
||||
|
||||
import './cl_main';
|
||||
@@ -12,12 +11,4 @@ import './cl_messages';
|
||||
import './cl_call';
|
||||
import './functions';
|
||||
|
||||
export let ESX: Client = null;
|
||||
|
||||
setTick(() => {
|
||||
while (ESX === null) {
|
||||
emit('esx:getSharedObject', (obj: Client) => (ESX = obj));
|
||||
}
|
||||
});
|
||||
|
||||
export const ClUtils = new ClientUtils();
|
||||
Reference in new issue
Block a user