mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
Catches FPSGameplay module up to new gamemode and module paradigm
Adds additional args for callGamemodeFunction Adds default Observer camera datablock
This commit is contained in:
parent
49f4fddd77
commit
28c4bad74d
47 changed files with 309 additions and 274 deletions
|
|
@ -217,7 +217,7 @@ function PlayerData::damage(%this, %obj, %sourceObject, %position, %damage, %dam
|
|||
|
||||
if (%obj.getState() $= "Dead")
|
||||
{
|
||||
$Game.onDeath(%client, %sourceObject, %sourceClient, %damageType, %location);
|
||||
callGamemodeFunction("onDeath", %client, %sourceObject, %sourceClient, %damageType, %location);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue