mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-04 21:10:32 +00:00
offload weapon/ammo counter update commands to the generic damagemodel
This commit is contained in:
parent
7cad861536
commit
53ad8ccc6d
3 changed files with 81 additions and 0 deletions
|
|
@ -23,6 +23,7 @@ function DamageModel::onCreateGameServer(%this)
|
|||
%this.queueExec("./scripts/server/shapeBase");
|
||||
%this.queueExec("./scripts/server/vehicle");
|
||||
%this.queueExec("./scripts/server/player");
|
||||
%this.queueExec("./scripts/server/commands");
|
||||
}
|
||||
|
||||
//This is called when the server is shut down due to the game/map being exited
|
||||
|
|
@ -35,6 +36,7 @@ function DamageModel::initClient(%this)
|
|||
{
|
||||
%this.queueExec("./guis/damageGuiOverlay.gui");
|
||||
%this.queueExec("./scripts/client/playGui");
|
||||
%this.queueExec("./scripts/client/client");
|
||||
}
|
||||
|
||||
//This is called when a client connects to a server
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue