Fix DoAfters staying (#2222)

return moment

Co-authored-by: Metal Gear Sloth <metalgearsloth@gmail.com>
This commit is contained in:
metalgearsloth
2020-10-11 07:43:07 +11:00
committed by GitHub
parent ffbc4f355e
commit 8ccb931536
3 changed files with 31 additions and 6 deletions

View File

@@ -75,8 +75,8 @@ namespace Content.Client.GameObjects.EntitySystems.DoAfter
{
if (comp.Gui != null)
comp.Gui.FirstDraw = true;
return;
continue;
}
var range = (comp.Owner.Transform.WorldPosition - _attachedEntity.Transform.WorldPosition).Length + 0.01f;