示例#1
0
 public override void SimulateOwner()
 {
     if (BoltNetwork.frame % 30 == 0 && BoltNetwork.scopeMode == ScopeMode.Manual && base.enabled && base.entity.controller != null)
     {
         BoltPOI.UpdateScope(this, base.entity.controller);
     }
 }
示例#2
0
 public override void SimulateOwner()
 {
     if (((BoltNetwork.frame % 30) == 0) && (BoltNetwork.scopeMode == Bolt.ScopeMode.Manual) && enabled)
     {
         if (entity.controller != null)
         {
             BoltPOI.UpdateScope(this, entity.controller);
         }
     }
 }