Ignore the File Open command if a game is running
This commit is contained in:
parent
679d9351ea
commit
d080632527
|
@ -686,6 +686,7 @@ void CFrame::BootGame(const std::string& filename)
|
|||
// Open file to boot
|
||||
void CFrame::OnOpen(wxCommandEvent& WXUNUSED (event))
|
||||
{
|
||||
if (Core::GetState() == Core::CORE_UNINITIALIZED)
|
||||
DoOpen(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue