View Issue Details
|ID||Project||Category||Date Submitted||Last Update|
|0019190||AI War 2||[All Projects] Gameplay Issue||Jun 25, 2017 11:03 pm||Dec 6, 2017 11:27 pm|
|Product Version||0.450 Sound!|
|Fixed in Version|
|Summary||0019190: Hitting "P" in game select screen starts game|
|Description||I was in the "Start game" screen deciding which map to use and I hit the "P" button. It immediately unpaused the game (I hadn't clicked start yet), and I was in game.|
I don't think "P" should be a shortcut for Start Game. Now, weirdly in Input_MainHandler.cs it looks like it checks for this condition:
if ( Engine_Universal.RunStatus == RunStatus.GameStart ) <==== shouldn't that prevent this from happening?
GameCommand command = GameCommand.Create( GameCommandType.TogglePause );
World_AIW2.Instance.QueueGameCommand( command, true );
I see in some other places that a different condition is used to see whether the game has started;
if ( !World.Instance.IsLoaded )
Maybe that check should be used instead?
|Tags||No tags attached.|