diff --git a/CoreScripts/Character/InteractableCharacter.as b/CoreScripts/Character/InteractableCharacter.as index cac0a9a..0b347d1 100644 --- a/CoreScripts/Character/InteractableCharacter.as +++ b/CoreScripts/Character/InteractableCharacter.as @@ -42,7 +42,7 @@ void onCommand(CBlob@ this, u8 cmd, CBitStream@ params) -void onHealthChange( CBlob@ this, f32 oldHealth ) +void onHealthChange(CBlob@ this, f32 oldHealth) { // Work around to 'Invalid networkid' for trying to tell CRules to remove our character if (this.hasTag("dead")) diff --git a/CoreScripts/Rules/CharacterHandler.as b/CoreScripts/Rules/CharacterHandler.as index cec7076..34aaf4d 100644 --- a/CoreScripts/Rules/CharacterHandler.as +++ b/CoreScripts/Rules/CharacterHandler.as @@ -21,8 +21,9 @@ void onInit(CRules@ this) // This will force the current character to become // Current render target this.addCommandID("character_force_talk"); - onRestart(this); + onRestart(this); + // Might get used if we want to use render:: in character rendering anywhere //id = Render::addScript(Render::layer_posthud, "CharacterHandler.as", "NewRender", 10.0f); }