updated for changes in bandwidth
This commit is contained in:
parent
a932d24683
commit
0959be2df2
2
game.go
2
game.go
@ -98,7 +98,7 @@ type GameMode interface {
|
||||
func NewGame(id string, width, height float32, obstacles, tick, maxPoints int, mode string) (*game, error) {
|
||||
bw, err := bandwidth.NewBandwidth(
|
||||
[]int{1, 10, 60},
|
||||
time.Duration(500)*time.Millisecond,
|
||||
1*time.Second,
|
||||
)
|
||||
if err != nil {
|
||||
log.Fatal("seriously, what the fuck")
|
||||
|
Loading…
Reference in New Issue
Block a user