diff --git a/cmd/tins2020/tins2020.go b/cmd/tins2020/tins2020.go index 9e27834..627c8dc 100644 --- a/cmd/tins2020/tins2020.go +++ b/cmd/tins2020/tins2020.go @@ -5,10 +5,9 @@ import ( "image/color" "log" - "opslag.de/schobers/fs/ricefs" "opslag.de/schobers/geom" "opslag.de/schobers/zntg" - "opslag.de/schobers/zntg/addons/res" + "opslag.de/schobers/zntg/addons/riceres" "opslag.de/schobers/zntg/play" "opslag.de/schobers/zntg/ui" @@ -28,9 +27,8 @@ func main() { } func openResources(box *rice.Box) ui.Resources { - fs := ricefs.NewFs(box) - resources, _ := res.NewAferoFallbackResources(`res`, fs, `botanim`) - return resources + embedded := riceres.New(box) + return ui.NewFallbackResources(ui.NewPathResources(nil, box.Name()), embedded) } type app struct {