Editor: don't include file extension in default scenario id/name (fixes #1840)
This commit is contained in:
parent
04175cddc6
commit
5d896eb6ba
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ bool map_context::save_scenario()
|
|||
assert(!is_embedded());
|
||||
|
||||
if(scenario_id_.empty()) {
|
||||
scenario_id_ = filesystem::base_name(filename_);
|
||||
scenario_id_ = filesystem::base_name(filename_, true);
|
||||
}
|
||||
|
||||
if(scenario_name_.empty()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue