playroom优化

This commit is contained in:
hahwu 2025-04-17 19:11:32 +08:00
parent 20e6023c5e
commit 0801743ee0

View File

@ -302,7 +302,7 @@ func ReqGmCommand_(player *Player, Command string) error {
player.PushClientRes(ChessMod.BackData())
case "addChip":
PlayroomMod := player.PlayMod.getPlayroomMod()
PlayroomMod.AddChip()
PlayroomMod.AddChip(1, 1)
player.PushClientRes(PlayroomMod.NotifyLose())
case "save":
player.PlayMod.ClearData(player)