Reset Nametags settings on network init

This commit is contained in:
Agent X 2023-11-23 21:40:31 -05:00
parent f8e0bfc2e4
commit 13178af640
1 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,9 @@ bool network_init(enum NetworkType inNetworkType, bool reconnecting) {
gServerSettings.headlessServer = 0;
#endif
gNametagsSettings.showHealth = false;
gNametagsSettings.showSelfTag = false;
// initialize the network system
gNetworkSentJoin = false;
int rc = gNetworkSystem->initialize(inNetworkType, reconnecting);