From 43e7b36534ba2bb1bb4e399d1536061e5890ab99 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 16 十月 2025 10:47:58 +0800
Subject: [PATCH] 263 【主界面】头像系统(内政-幻境阁系统)-服务端(优化改名逻辑)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py | 15 ++++-----------
1 files changed, 4 insertions(+), 11 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
index 3e672e3..968c2b0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerHorse.py
@@ -115,17 +115,10 @@
if not curPlayer.GetInitOK():
return
- customMapID = PlayerControl.GetCustomMapID(curPlayer)
- if customMapID:
- ipyMapData = IpyGameDataPY.GetIpyGameData("ChinMap", customMapID)
- if not ipyMapData or not ipyMapData.GetCanRide():
- PlayerControl.NotifyCode(curPlayer, "RideLimit_lhs_0")
- return
- else:
- #地图不允许骑马 RideLimit_lhs_0
- if not GameWorld.GetMap().GetMapCanRide():
- PlayerControl.NotifyCode(curPlayer, "RideLimit_lhs_0")
- return
+ #地图不允许骑马 RideLimit_lhs_0
+ if not GameWorld.GetMap().GetMapCanRide():
+ PlayerControl.NotifyCode(curPlayer, "RideLimit_lhs_0")
+ return
#检查玩家状态,只有在空闲状态才能上马
if curPlayer.GetPlayerVehicle() != IPY_GameWorld.pvNull :
--
Gitblit v1.8.0