debugged delaunay, problem was in referencing slice of connectors instead of copying
This commit is contained in:
@ -2,6 +2,7 @@ package gamemap
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/items"
|
||||
"lab.zaar.be/thefish/alchemyst-go/engine/mob"
|
||||
@ -112,6 +113,8 @@ func (pfbl PrefabLoader) PrefabRoomsList() []Room {
|
||||
}
|
||||
}
|
||||
//add room to list
|
||||
fmt.Printf("PREFAB room append: ", room.String())
|
||||
|
||||
rooms = append(rooms, room)
|
||||
}
|
||||
return rooms
|
||||
|
Reference in New Issue
Block a user