Fix bible ranged interactions. (#6730)
This commit is contained in:
parent
3abc7a443e
commit
d9d7216377
|
|
@ -37,6 +37,9 @@ namespace Content.Server.Bible
|
|||
|
||||
private void OnAfterInteract(EntityUid uid, BibleComponent component, AfterInteractEvent args)
|
||||
{
|
||||
if (!args.CanReach)
|
||||
return;
|
||||
|
||||
var currentTime = _gameTiming.CurTime;
|
||||
|
||||
if (currentTime < component.CooldownEnd)
|
||||
|
|
|
|||
Loading…
Reference in New Issue