Drag flow into view-map
This is pretty awful, but will let me wire up items more easily without needing to do the big refactor into independent menu handlers
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
package scenario
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"image"
|
||||
|
||||
"code.ur.gs/lupine/ordoor/internal/assetstore"
|
||||
@@ -36,9 +35,9 @@ func NewScenario(assets *assetstore.AssetStore, name string) (*Scenario, error)
|
||||
}
|
||||
|
||||
// Eager load sprites. TODO: do we really want to do this?
|
||||
if err := area.LoadSprites(); err != nil {
|
||||
return nil, fmt.Errorf("Eager-loading sprites failed: %v", err)
|
||||
}
|
||||
//if err := area.LoadSprites(); err != nil {
|
||||
// return nil, fmt.Errorf("Eager-loading sprites failed: %v", err)
|
||||
//}
|
||||
|
||||
out := &Scenario{
|
||||
area: area,
|
||||
|
Reference in New Issue
Block a user