add more lineup & add SwitchLineup

This commit is contained in:
Naruse
2025-04-18 10:06:55 +08:00
parent 709b4af735
commit 1b727e06d7
3 changed files with 57 additions and 8 deletions

View File

@@ -47,7 +47,7 @@ async def handle(session: PlayerSession, msg: GetSceneMapInfoCsReq) -> betterpro
for prop in group.PropList:
maze_prop = MazePropState(
group_id=group_id,
state=8 if prop.MappingInfoID > 0 else (1 if prop.State == 0 else prop.State),
state=prop.State if prop.State else 0,
config_id=prop.ID
)
if prop.MappingInfoID > 0: