mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
followup
This commit is contained in:
parent
09f9b5351c
commit
7d63f114fa
3 changed files with 34 additions and 34 deletions
|
|
@ -33,7 +33,7 @@ function ExampleModule::onDestroy(%this)
|
|||
function ExampleModule::initServer(%this)
|
||||
{
|
||||
//This script contains our ExampleGameMode logic
|
||||
exec("./scripts/ExampleGamemodeScript.cs");
|
||||
%this.queueExec("./scripts/ExampleGamemodeScript.cs");
|
||||
}
|
||||
|
||||
//This is called when a game session server is actually created so the game may be played. It's called
|
||||
|
|
@ -74,13 +74,13 @@ function ExampleModule::initClient(%this)
|
|||
|
||||
//client scripts
|
||||
//Here, we exec out keybind scripts so the player is able to move when they get into a game
|
||||
exec("./scripts/default.keybinds.cs");
|
||||
%this.queueExec("./scripts/default.keybinds.cs");
|
||||
|
||||
%prefPath = getPrefpath();
|
||||
if(isFile(%prefPath @ "/keybinds.cs"))
|
||||
exec(%prefPath @ "/keybinds.cs");
|
||||
|
||||
exec("./scripts/inputCommands.cs");
|
||||
%this.queueExec("./scripts/inputCommands.cs");
|
||||
}
|
||||
|
||||
//This is called when a game session client successfuly connects to a game server.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue