add global data (is logged in)

This commit is contained in:
hydrant
2019-05-01 18:23:58 +02:00
parent 5c23071c7e
commit 26af842da6
3 changed files with 7 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ let globalData: GlobalData = {
HideGui: false,
Interaction: false,
InChat: false,
LoggedIn = false
};
import voice from './Voice/main';
@@ -66,7 +67,7 @@ import playerInteraction from './Interaction/playerinteraction';
playerInteraction(globalData);
import Login from './Login/main';
Login();
Login(globalData);
import dutyCloth from './Player/dutycloth';
dutyCloth();