Ignore:
Timestamp:
02/23/12 14:18:54 (3 years ago)
Author:
acarter
Message:

Added checking in the Match minigame.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Code/oMaE/oMaE/Overworld/Objects/Door.cs

    r59 r60  
    115115        public override void Update(GameState gameState)
    116116        {
    117             if (elephantNear && gameState.Down(Keys.Space))
     117            if (elephantNear && gameState.Pressed(Keys.Space))
     118            {
     119                gameState.handle(Keys.Space);
    118120                driver.Play2DGame(DoorLock, otherSide);
     121            }
    119122            if (DoorLock.Completed)
    120123                door.Color = completed;
Note: See TracChangeset for help on using the changeset viewer.