scale should be greater or equal 1

This commit is contained in:
Dawid Wysokiński 2020-06-23 14:21:06 +02:00
parent a749d8e0ba
commit 84d1514456
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ func (cfg *Config) init() {
if cfg.MapSize <= 0 {
cfg.MapSize = defaultMapSize
}
if cfg.Scale <= 0 {
if cfg.Scale < 1 {
cfg.Scale = 1
}
if cfg.CenterX <= 0 {