Closed roobre closed 1 year ago
Quick fix for the bug we saw recently on a demo, where the server would panic if the max number of toppings equals the min. Turns out the semantics of rand.Intn are not as obvious as one might think.
rand.Intn
Quick fix for the bug we saw recently on a demo, where the server would panic if the max number of toppings equals the min. Turns out the semantics of
rand.Intn
are not as obvious as one might think.