commit bdb20ceedd6c9d689b1a79d64e09bbea89ab525a
parent a6866fc862cbdf3335f3bcf126ebb0fced9b2f69
Author: bsandro <brian.drosan@gmail.com>
Date: Sat, 19 Dec 2020 02:20:01 +0300
minor fixes
Diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/.hgignore b/.hgignore
@@ -1,3 +1,5 @@
ebitest$
ebitest.exe$
assets.go
+# Default ignored files
+.idea/workspace.xml
diff --git a/init.go b/init.go
@@ -27,12 +27,12 @@ func init() {
imageNames := []string{"BakaHa2.webp", "grass.jpg"}
for _, name := range imageNames {
- image, err := getImage(name)
+ img, err := getImage(name)
if err != nil {
log.Fatal(err)
}
// some global memory storage
- Images[name] = image
+ Images[name] = img
}
ScreenSize.width = 1280