This commit is contained in:
aozhiwei 2024-11-11 13:55:48 +08:00
parent f8738d39cb
commit 61d1f1e071

View File

@ -56,6 +56,7 @@ func (this *User) DecDice(num int32) error {
if this.Score < int64(num) {
return errors.New("")
}
this.Score -= int64(num)
return nil
}