|
|
@ -35,7 +35,7 @@ impl Db {
|
|
|
|
"Unable to perform query"
|
|
|
|
"Unable to perform query"
|
|
|
|
);
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|
|
for (direction, exit) in room.exits.iter() {
|
|
|
|
for (_, exit) in room.exits.iter() {
|
|
|
|
let mut statement = try_log!(
|
|
|
|
let mut statement = try_log!(
|
|
|
|
self.0
|
|
|
|
self.0
|
|
|
|
.prepare("insert into exits (room, target, direction) values (?, ?, ?);"),
|
|
|
|
.prepare("insert into exits (room, target, direction) values (?, ?, ?);"),
|
|
|
|