1
This commit is contained in:
parent
f8738d39cb
commit
61d1f1e071
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user