Bunch of revolver fixes (#19649)
* Bunch of revolver fixes Some stuff wasn't working with prediction so this should fix all of it. * a * fix weh * Also usedelay
This commit is contained in:
@@ -61,4 +61,12 @@ public sealed class UseDelaySystem : EntitySystem
|
||||
Dirty(ent);
|
||||
return true;
|
||||
}
|
||||
|
||||
public bool TryResetDelay(EntityUid uid, bool checkDelayed = false, UseDelayComponent? component = null)
|
||||
{
|
||||
if (!Resolve(uid, ref component, false))
|
||||
return false;
|
||||
|
||||
return TryResetDelay((uid, component), checkDelayed);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user