Skip to content

Commit

Permalink
Changed file that highscore gets saved to.
Browse files Browse the repository at this point in the history
  • Loading branch information
BookOwl authored Jan 11, 2017
1 parent 0749a53 commit d339db6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ fn write_highscore(path: &str, score: u32) -> io::Result<()> {
}

fn main() {
let highscore_file = "/usr/local/.snake_highscore";
let highscore_file = "snake_highscore";
let rb = match RustBox::init(Default::default()) {
Ok(v) => v,
Err(e) => panic!("{}", e),
Expand Down

0 comments on commit d339db6

Please sign in to comment.