|
@@ -255,10 +255,10 @@ namespace FL.Map.TestMainMap
|
|
|
SaveHpAddTime(dto.entityId, out var delay);
|
|
|
if (delay > 0)
|
|
|
{
|
|
|
- var timer = Context.Time.AddDelayTimer(delay, () =>
|
|
|
+ ITimer timer = null;
|
|
|
+ timer = Context.Time.AddDelayTimer(delay, () =>
|
|
|
{
|
|
|
- if (_isMasking)
|
|
|
- return;
|
|
|
+ _hpAddTimers.Remove(timer);
|
|
|
LoadHpAddView(dto);
|
|
|
});
|
|
|
_hpAddTimers.Add(timer);
|