mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-10-20 01:46:15 +00:00
improvements to timed modifier
This commit is contained in:
1 parent
9ae9094a85
commit
4a8fb38380
1 file changed
+4
-2
@@ -17,7 +17,7 @@ public abstract class TimedModifier : BaseModifier
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the timer should start automatically when added.
|
||||
/// </summary>
|
||||
public virtual bool AutoStart => false;
|
||||
public virtual bool AutoStart => true;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the modifier should be removed when the timer completes.
|
||||
@@ -27,7 +27,9 @@ public abstract class TimedModifier : BaseModifier
|
||||
/// <summary>
|
||||
/// Called when the timer completes.
|
||||
/// </summary>
|
||||
public abstract void OnTimerComplete();
|
||||
public virtual void OnTimerComplete()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether the timer is active.
|
||||
|
||||
Reference in new issue
Block a user