فهرست منبع

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();
 }