Add fallback ip for the socket
This commit is contained in:
parent
9073ff7def
commit
d5b367d272
@ -5,7 +5,7 @@ import { usePlayerDataStore } from "../store/playerDataStore";
|
|||||||
import { useSongDataStore } from "../store/songDataStore";
|
import { useSongDataStore } from "../store/songDataStore";
|
||||||
import { getMapHashFromLevelId } from "./map/mapHelpers";
|
import { getMapHashFromLevelId } from "./map/mapHelpers";
|
||||||
|
|
||||||
const ip = useSettingsStore.getState().socketAddr;
|
const ip = useSettingsStore.getState().socketAddr || "localhost";
|
||||||
|
|
||||||
let cutData: any = [];
|
let cutData: any = [];
|
||||||
cutData.saberA = {
|
cutData.saberA = {
|
||||||
|
Reference in New Issue
Block a user