SecondsSinceAttacked allways is Infinity. Where is trouble?
Solved Hammer hit
Discussion in 'Rust Development' started by HOUGAN_Y, Oct 31, 2017.
-
It's Infinity, because entity haven't been attacked.
Only after attack, entity will have this value.
Code:public float _lastAttackedTime = float.NegativeInfinity;
-
So, what changed, while entity isn't attacked after hammer hit? -
-