浏览代码

Re-enabled ExampleModule's keybinds

Areloch 6 年之前
父节点
当前提交
6f02f64dd2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Templates/BaseGame/game/data/ExampleModule/ExampleModule.cs

+ 2 - 2
Templates/BaseGame/game/data/ExampleModule/ExampleModule.cs

@@ -92,7 +92,7 @@ function ExampleModule::initClient(%this)
 function ExampleModule::onCreateClientConnection(%this)
 {
    //This will push our keybind movemap onto the input stack, so we can control our camera in our ExampleGameMode
-   //ExampleMoveMap.push();
+   ExampleMoveMap.push();
 }
 
 //This is called when a client game session disconnects from a game server
@@ -104,5 +104,5 @@ function ExampleModule::onCreateClientConnection(%this)
 function ExampleModule::onDestroyClientConnection(%this)
 {
    //This will pop the keybind, cleaning it up from the input stack, as it no longer applies
-   //ExampleMoveMap.pop();
+   ExampleMoveMap.pop();
 }