Add net event handlers in startup

This commit is contained in:
Vortrex
2022-06-17 15:14:39 -05:00
parent f121b473aa
commit 7b77c99fb0
2 changed files with 2 additions and 1 deletions

View File

@@ -9,7 +9,6 @@
function initNetworkEventsScript() { function initNetworkEventsScript() {
logToConsole(LOG_DEBUG, "[VRR.NetEvents]: Initializing network events script ..."); logToConsole(LOG_DEBUG, "[VRR.NetEvents]: Initializing network events script ...");
addAllNetworkEventHandlers();
logToConsole(LOG_DEBUG, "[VRR.NetEvents]: Network events script initialized!"); logToConsole(LOG_DEBUG, "[VRR.NetEvents]: Network events script initialized!");
} }

View File

@@ -49,6 +49,8 @@ function initServerScripts() {
setAllServerDataIndexes(); setAllServerDataIndexes();
createAllServerElements(); createAllServerElements();
addAllNetworkEventHandlers();
initAllClients(); initAllClients();
initTimers(); initTimers();