Compare commits
1 Commits
5560c59614
...
4dc94dc0cf
Author | SHA1 | Date | |
---|---|---|---|
4dc94dc0cf |
@ -502,8 +502,8 @@ func (g *WatGame) Bench(player *Player, fields []string) string {
|
|||||||
if g.roid[player.Nick] != 0 {
|
if g.roid[player.Nick] != 0 {
|
||||||
delete(g.roid, player.Nick)
|
delete(g.roid, player.Nick)
|
||||||
success, randErr := g.RandInt(2)
|
success, randErr := g.RandInt(2)
|
||||||
if randErr != nil {
|
if e := handleError(randErr); e != "" {
|
||||||
return "woops"
|
return e
|
||||||
}
|
}
|
||||||
if success != 0 {
|
if success != 0 {
|
||||||
player.Health = 0
|
player.Health = 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user