From ba63aee87440c7ff822a1f95f060bd5a3f767723 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Tue, 21 Nov 2017 15:07:04 +0100 Subject: [PATCH] GAME_PAUSE --- src/game-lib-a-1-event.js | 2 +- src/game-lib-system-input.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game-lib-a-1-event.js b/src/game-lib-a-1-event.js index 3f7aec4..b1fcfb0 100644 --- a/src/game-lib-a-1-event.js +++ b/src/game-lib-a-1-event.js @@ -33,7 +33,7 @@ GameLib.Event.COMPONENT_CLONED = 0xf; GameLib.Event.TEXTURE_ANIMATED_CHANGE = 0x10; GameLib.Event.ANIMATE_TEXTURE_INSTANCE = 0x11; GameLib.Event.REMOVE_PARTICLE_ENGINE = 0x12; -GameLib.Event.PAUSE = 0x13; +GameLib.Event.GAME_PAUSE = 0x13; GameLib.Event.TEXTURE_INSTANCE_UPDATED = 0x14; GameLib.Event.PLAY_AUDIO = 0x15; GameLib.Event.MATERIAL_INSTANCE_UPDATED = 0x16; diff --git a/src/game-lib-system-input.js b/src/game-lib-system-input.js index 6f9dff2..86716ba 100644 --- a/src/game-lib-system-input.js +++ b/src/game-lib-system-input.js @@ -817,7 +817,7 @@ GameLib.System.Input.prototype.onKeyDown = function(event) { } if (event.code === 'KeyP') { - GameLib.Event.Emit(GameLib.Event.PAUSE); + GameLib.Event.Emit(GameLib.Event.GAME_PAUSE); } };