fix a bug with the urlnoexit GameCommand (it would pop up a message saying it couldn't launch the browser, even though it did.)
This commit is contained in:
@@ -9,6 +9,12 @@ Not all changes are documented, for various reasons.
|
||||
supported but exist anyways.)
|
||||
_____________________________________________________________________________
|
||||
|
||||
20100626
|
||||
--------
|
||||
* Fixed a bug with urlnoexit GameCommand always returning the "Could not
|
||||
launch web browser" message.
|
||||
* Removed some untested/non-working Model Lua bindings.
|
||||
|
||||
20100623
|
||||
--------
|
||||
* Implement the last remaining SampleMusicPreviewMode: StartToPreview.
|
||||
|
||||
@@ -784,8 +784,10 @@ void GameCommand::ApplySelf( const vector<PlayerNumber> &vpns ) const
|
||||
if( !m_sUrl.empty() )
|
||||
{
|
||||
if( HOOKS->GoToURL( m_sUrl ) )
|
||||
{
|
||||
if( m_bUrlExits )
|
||||
SCREENMAN->SetNewScreen( "ScreenExit" );
|
||||
}
|
||||
else
|
||||
ScreenPrompt::Prompt( SM_None, COULD_NOT_LAUNCH_BROWSER );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user