Enter stamp placement mode when dnd'ing a stamp
That is, an .stm file. Do this rather than open it as a save, as is done with .cps files.
This commit is contained in:
parent
f0a447bcd5
commit
9ea09d129d
@ -1656,7 +1656,14 @@ void GameView::OnFileDrop(ByteString filename)
|
|||||||
new ErrorMessage("Error loading save", "Dropped save file could not be loaded: " + saveFile->GetError());
|
new ErrorMessage("Error loading save", "Dropped save file could not be loaded: " + saveFile->GetError());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
c->LoadSaveFile(std::move(saveFile));
|
if (filename.EndsWith(".stm"))
|
||||||
|
{
|
||||||
|
c->LoadStamp(saveFile->TakeGameSave());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
c->LoadSaveFile(std::move(saveFile));
|
||||||
|
}
|
||||||
|
|
||||||
// hide the info text if it's not already hidden
|
// hide the info text if it's not already hidden
|
||||||
SkipIntroText();
|
SkipIntroText();
|
||||||
|
Reference in New Issue
Block a user