updated for changes in bandwidth

This commit is contained in:
Stephen McQuay 2014-03-08 18:27:48 -08:00
parent a932d24683
commit 0959be2df2

View File

@ -98,7 +98,7 @@ type GameMode interface {
func NewGame(id string, width, height float32, obstacles, tick, maxPoints int, mode string) (*game, error) { func NewGame(id string, width, height float32, obstacles, tick, maxPoints int, mode string) (*game, error) {
bw, err := bandwidth.NewBandwidth( bw, err := bandwidth.NewBandwidth(
[]int{1, 10, 60}, []int{1, 10, 60},
time.Duration(500)*time.Millisecond, 1*time.Second,
) )
if err != nil { if err != nil {
log.Fatal("seriously, what the fuck") log.Fatal("seriously, what the fuck")