Browse Source

fixed interval set exception

master
Z 5 months ago
parent
commit
deeb1f3637
  1. 4
      addons/EGFramework/Module/EGMessage.cs

4
addons/EGFramework/Module/EGMessage.cs

@ -85,7 +85,9 @@ namespace EGFramework
public void SetDelay(int millisecond){ public void SetDelay(int millisecond){
this.SendDelay = millisecond; this.SendDelay = millisecond;
RequestTimer.Interval = millisecond; if(millisecond != 0){
RequestTimer.Interval = millisecond;
}
} }
} }

Loading…
Cancel
Save