mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-23 05:15:34 +00:00
Fixed bug in display options UI writing incorrect values.
This commit is contained in:
parent
40cdc29e0c
commit
326908aa3d
2 changed files with 9 additions and 2 deletions
|
|
@ -38,7 +38,14 @@ function DisplayMenu::apply(%this)
|
|||
}
|
||||
|
||||
//Update the display settings now
|
||||
$pref::Video::Resolution = getWord( $pref::Video::Resolution, 0 ) SPC getWord( $pref::Video::Resolution, 2 );
|
||||
if (getWord( $pref::Video::Resolution, 2) == "")
|
||||
{
|
||||
$pref::Video::Resolution = getWord( $pref::Video::Resolution, 0 ) SPC getWord( $pref::Video::Resolution, 1 );
|
||||
}
|
||||
else
|
||||
{
|
||||
$pref::Video::Resolution = getWord( $pref::Video::Resolution, 0 ) SPC getWord( $pref::Video::Resolution, 2 );
|
||||
}
|
||||
|
||||
/*if ( %newFullScreen $= "false" )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue