summaryrefslogtreecommitdiff
path: root/earthporn.go
diff options
context:
space:
mode:
Diffstat (limited to 'earthporn.go')
-rw-r--r--earthporn.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/earthporn.go b/earthporn.go
index ad7576c..29ff208 100644
--- a/earthporn.go
+++ b/earthporn.go
@@ -122,6 +122,7 @@ func setMaxdimCmd(params []string) error {
if err != nil {
return fmt.Errorf("1st parameter of set-maxdim could not be parsed as a number: %s", err)
}
+ maxdim = int(newmaxdim)
return nil
}