View Issue Details

IDProjectCategoryLast Update
0019190AI War 2[All Projects] Gameplay IssueDec 6, 2017 11:27 pm
ReporterBadgerBadgerAssigned To 
Status newResolutionopen 
Product Version0.450 Sound! 
Fixed in Version 
Summary0019190: Hitting "P" in game select screen starts game
DescriptionI 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:
                case "TogglePause":
                        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?
TagsNo tags attached.



Dec 6, 2017 11:27 pm

reporter   ~0046616

This is still an issue in .609

Issue History

Date Modified Username Field Change
Jun 25, 2017 11:03 pm BadgerBadger New Issue
Dec 6, 2017 11:27 pm BadgerBadger Note Added: 0046616