Merge pull request #1741 from Azaezel/damagemodelFilefix
Some checks are pending
Linux Build / Ubuntu Latest GCC (push) Waiting to run
MacOSX Build / MacOSX Latest Clang (push) Waiting to run
Windows Build / Windows Latest MSVC (push) Waiting to run

put damagemodel script files in the same pool as resources
This commit is contained in:
Brian Roberts 2026-05-16 00:03:19 -05:00 committed by GitHub
commit 0fc551b537
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,20 +9,13 @@ function DamageModel::onDestroy(%this)
//This is called when the server is initially set up by the game application
function DamageModel::initServer(%this)
{
%this.queueExec("./scripts/server/player");
}
//This is called when the server is created for an actual game/map to be played
function DamageModel::onCreateGameServer(%this)
{
%this.registerDatablock("./scripts/managedData/managedParticleData");
%this.registerDatablock("./scripts/managedData/managedParticleEmitterData");
%this.queueExec("./scripts/server/utility");
%this.queueExec("./scripts/server/radiusDamage");
%this.queueExec("./scripts/server/projectile");
%this.queueExec("./scripts/server/weapon");
%this.queueExec("./scripts/server/shapeBase");
%this.queueExec("./scripts/server/vehicle");
%this.queueExec("./scripts/server/player");
%this.queueExec("./scripts/server/commands");
}