fix tile region = none bug

This commit is contained in:
bridge
2025-12-20 19:26:53 +08:00
parent c772edfff0
commit 3d117c2fb2
9 changed files with 19 additions and 11 deletions

View File

@@ -80,7 +80,7 @@ class Catch(TimedAction):
# 清理状态
self._caught_result = None
region = self.avatar.tile.region
return Event(self.world.month_stamp, f"{self.avatar.name}{region.name} 尝试御兽", related_avatars=[self.avatar.id])
return Event(self.world.month_stamp, f"{self.avatar.name}{self.avatar.tile.location_name} 尝试御兽", related_avatars=[self.avatar.id])
async def finish(self) -> list[Event]:
res = self._caught_result