Add fallback ip for the socket

This commit is contained in:
Liam 2022-10-29 18:00:47 +01:00
parent 9073ff7def
commit d5b367d272

View File

@ -5,7 +5,7 @@ import { usePlayerDataStore } from "../store/playerDataStore";
import { useSongDataStore } from "../store/songDataStore";
import { getMapHashFromLevelId } from "./map/mapHelpers";
const ip = useSettingsStore.getState().socketAddr;
const ip = useSettingsStore.getState().socketAddr || "localhost";
let cutData: any = [];
cutData.saberA = {