added patcher and redirect to homepage if user is logged in

This commit is contained in:
Polaris
2024-08-17 16:25:04 -04:00
parent a313021c9e
commit 1dc548936b
50 changed files with 3754 additions and 22 deletions

View File

@ -34,7 +34,7 @@ import { getCurrentMapIcon, updatePlayerMapIcon } from "./actions";
const getNamePlateTextures = (id: number | undefined) => {
if (id === undefined) return "";
const paddedId = id.toString().padStart(8, "0");
return `mapIcon/CHU_UI_MapIcon_${paddedId}.png`;
return `mapIcons/CHU_UI_MapIcon_${paddedId}.png`;
};
type mapIcons = cozynet_chuni_static_mapicon;