Fixed afflictionUpdate only being called server-side
This commit is contained in:
+1
-3
@@ -450,9 +450,7 @@ namespace Barotrauma
|
|||||||
{
|
{
|
||||||
GrainEffectStrength -= amount;
|
GrainEffectStrength -= amount;
|
||||||
}
|
}
|
||||||
#if SERVER
|
GameMain.LuaCs.Hook.Call("afflictionUpdate", new object[] { this, characterHealth, targetLimb, deltaTime });
|
||||||
GameMain.LuaCs.Hook.Call("afflictionUpdate", new object[] { this, characterHealth, targetLimb, deltaTime });
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void ApplyStatusEffects(ActionType type, float deltaTime, CharacterHealth characterHealth, Limb targetLimb)
|
public void ApplyStatusEffects(ActionType type, float deltaTime, CharacterHealth characterHealth, Limb targetLimb)
|
||||||
|
|||||||
Reference in New Issue
Block a user