Setup initial game stuff

This commit is contained in:
Vortrex
2022-05-20 17:35:54 -05:00
parent 4f77b58e5b
commit 338ee8422d

View File

@@ -184,8 +184,8 @@ function set2DRendering(hudState, labelState, smallGameMessageState, scoreboardS
function onServerSpawnedLocalPlayer(state) {
logToConsole(LOG_DEBUG, `[VRR.Main] Setting spawned state to ${state}`);
isSpawned = state;
setUpInitialGame();
if(state) {
setUpInitialGame();
setTimeout(function() {
calledDeathEvent = false;
}, 1000);