mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +00:00
Merge pull request #370 from Areloch/MiscBaseGameUIFixes
Misc. BaseGame UI fixes
This commit is contained in:
commit
72ee2260ca
3 changed files with 21 additions and 4 deletions
|
|
@ -206,7 +206,7 @@
|
|||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "dynamic";
|
||||
lockHorizScroll = "0";
|
||||
lockHorizScroll = "1";
|
||||
lockVertScroll = "0";
|
||||
constantThumbHeight = "0";
|
||||
childMargin = "0 0";
|
||||
|
|
|
|||
|
|
@ -7,7 +7,12 @@ function PauseMenuList::onAdd(%this)
|
|||
|
||||
function PauseMenu::onWake(%this)
|
||||
{
|
||||
$timescale = 0;
|
||||
if($Server::ServerType $= "SinglePlayer")
|
||||
{
|
||||
$timescale = 0;
|
||||
|
||||
sfxSetChannelVolume( $SimAudioType, $pref::SFX::channelVolume[ 0 ] );
|
||||
}
|
||||
|
||||
PauseMenuList.hidden = false;
|
||||
PauseMenuList.setFirstResponder();
|
||||
|
|
@ -17,7 +22,11 @@ function PauseMenu::onWake(%this)
|
|||
|
||||
function PauseMenu::onSleep(%this)
|
||||
{
|
||||
$timescale = 1;
|
||||
if($Server::ServerType $= "SinglePlayer")
|
||||
{
|
||||
$timescale = 1;
|
||||
sfxSetChannelVolume( $SimAudioType, $pref::SFX::channelVolume[ $SimAudioType ] );
|
||||
}
|
||||
}
|
||||
|
||||
function PauseMenu::onReturnTo(%this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue