Skip to content
Snippets Groups Projects
Commit a2dc93f6 authored by deuce's avatar deuce
Browse files

When creating a NEW .plan file, use the .plan filename, not .pla.

parent ab1d4475
No related branches found
No related tags found
No related merge requests found
......@@ -760,6 +760,10 @@ function str_cmds(str)
if(!console.noyes("Delete current .plan"))
file_remove(plan);
}
else {
// When creating a NEW plan file, use .plan
plan=format("%suser/%04d.plan",system.data_dir,user.number);
}
if(console.yesno("Edit/Create .plan")) {
console.editfile(plan);
console.printfile(plan);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment