We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 833d322 commit e734d4dCopy full SHA for e734d4d
1 file changed
Code/FlagSystem/Flags/OnEventFlag.cs
@@ -1,4 +1,5 @@
1
using JetBrains.Annotations;
2
+using SER.Code.Helpers;
3
using SER.Code.Helpers.ResultSystem;
4
using SER.Code.ScriptSystem;
5
using EventHandler = SER.Code.EventSystem.EventHandler;
@@ -8,7 +9,7 @@ namespace SER.Code.FlagSystem.Flags;
8
9
[UsedImplicitly]
10
public class OnEventFlag : Flag
11
{
- private string _event;
12
+ private Safe<string> _event;
13
14
public override string Description =>
15
"Binds a script to an in-game event. When the event happens, the script will execute. " +
0 commit comments