direction isn't needed

master
rasul 5 years ago
parent 1a43cf12cc
commit a3d3c3e7f8

@ -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 (?, ?, ?);"),

Loading…
Cancel
Save