diff --git a/packages/client/src/components/MapCell/index.tsx b/packages/client/src/components/MapCell/index.tsx
index ae9cd2e1..0c0e394b 100644
--- a/packages/client/src/components/MapCell/index.tsx
+++ b/packages/client/src/components/MapCell/index.tsx
@@ -150,7 +150,7 @@ const MapCell = (props: IProps) => {
}
{
- players.map((player) => )
+ !isDelivery && players.map((player) => )
}
{
menuVisible && (
diff --git a/packages/client/src/components/UserInfo/index.tsx b/packages/client/src/components/UserInfo/index.tsx
index cb725d0e..06d97252 100644
--- a/packages/client/src/components/UserInfo/index.tsx
+++ b/packages/client/src/components/UserInfo/index.tsx
@@ -7,7 +7,6 @@ export interface IUserInfo {
head: string;
clothes: string;
handheld: string;
- gem?: number;
userUrl?: string;
lootUrl?: string;
player?: any;
@@ -15,7 +14,7 @@ export interface IUserInfo {
const UserInfo = (props: IUserInfo) => {
- const { handheld, head, clothes, gem = 0, userUrl, lootUrl, player } = props;
+ const { handheld, head, clothes, userUrl, lootUrl, player } = props;
const lootHasLoaded = (handheld && head && clothes) || (player?.equip?.handheld && player?.equip?.head && player?.equip?.clothes);
return (
diff --git a/packages/client/src/pages/game/index.tsx b/packages/client/src/pages/game/index.tsx
index b923f71b..d273cac8 100644
--- a/packages/client/src/pages/game/index.tsx
+++ b/packages/client/src/pages/game/index.tsx
@@ -331,6 +331,10 @@ const Game = () => {
const result = await move(merkelData);
txFinished = true;
curPlayer.waiting = false;
+ if (renderPreviewPaths.length > 0) {
+ const lastPreviewPath = renderPreviewPaths[renderPreviewPaths.length - 1];
+ previewPath(lastPreviewPath.x, lastPreviewPath.y);
+ }
if (result?.type === 'error') {
message.error(result.message);
}
@@ -494,18 +498,13 @@ const Game = () => {
{
startBattleData ? : null
}
- {
- userInfoVisible && (
- {
- setUserInfoVisible(false);
- }}
- gem={userInfoPlayer.gem}
- {...userInfoPlayer}
- />
- )
- }
+ {
+ setUserInfoVisible(false);
+ }}
+ {...userInfoPlayer}
+ />