Skip to content

Commit

Permalink
Fix sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xmichalis committed Feb 26, 2017
1 parent 814f505 commit 379cbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func (c *Client) resizeWatch(eventCh chan<- Event, stopCh <-chan struct{}, wg *s
log.Info(fmt.Sprintf("Player: %s, Width: %d, Height: %d", c.Player.Nickname, c.w, c.h))

// fits?
if c.w >= 20 && c.h >= 20 {
if c.w >= 40 && c.h >= 40 {
c.conn.EraseScreen()
// send updates!
c.ready = true
Expand Down

0 comments on commit 379cbfd

Please sign in to comment.