summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorKevin Chabowski <kevin@kch42.de>2013-11-02 14:47:26 +0100
committerKevin Chabowski <kevin@kch42.de>2013-11-02 14:47:26 +0100
commit63b964614135f6381b5d55828714efb3783dfd04 (patch)
tree0505976e6bffadd2d37e377932c74987f9f587c2 /main.go
parent03eaf07bee24bb12319e53e090a19f2c2a05ad23 (diff)
downloadbiomed-63b964614135f6381b5d55828714efb3783dfd04.tar.gz
biomed-63b964614135f6381b5d55828714efb3783dfd04.tar.bz2
biomed-63b964614135f6381b5d55828714efb3783dfd04.zip
New biome infos are now passed to mapwidget
Diffstat (limited to 'main.go')
-rw-r--r--main.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.go b/main.go
index 288b59d..ba60c97 100644
--- a/main.go
+++ b/main.go
@@ -21,8 +21,8 @@ type GUI struct {
statusContext uint
lastStatus string
- biomes []BiomeInfo
- bioVBox *gtk.VBox
+ biomes []BiomeInfo
+ bioVBox *gtk.VBox
bioVBoxWrap *gtk.VBox
mapw *MapWidget
@@ -246,7 +246,7 @@ func (g *GUI) updateBiomeInfo() {
vbox.ShowAll()
g.bioVBox = vbox
- // TODO: Update mapwidget
+ g.mapw.updateBioLookup(MkBiomeLookup(g.biomes))
}
func (g *GUI) Init() {