Hot Fix of Gravity Grenades (#19414)
* Supermatter grenade fix * taking out the trash * Removing debug Console.Log() in twostage * More fixes * Better to put LoadComponents on Update, else it will modify list of other untriggered components
This commit is contained in:
@@ -19,12 +19,15 @@ public sealed partial class TwoStageTriggerComponent : Component
|
||||
/// <summary>
|
||||
/// This list of components that will be added for the second trigger.
|
||||
/// </summary>
|
||||
[ViewVariables(VVAccess.ReadOnly)]
|
||||
[DataField("components", required: true)]
|
||||
public ComponentRegistry SecondStageComponents = new();
|
||||
|
||||
[DataField("nextTriggerTime", customTypeSerializer: typeof(TimeOffsetSerializer))]
|
||||
public TimeSpan? NextTriggerTime;
|
||||
|
||||
[ViewVariables(VVAccess.ReadWrite), DataField("triggered")] public bool Triggered = false;
|
||||
[DataField("triggered")]
|
||||
public bool Triggered = false;
|
||||
|
||||
[DataField("ComponentsIsLoaded")]
|
||||
public bool ComponentsIsLoaded = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user