暂存2
This commit is contained in:
@@ -293,7 +293,12 @@ namespace WulaFallenEmpire
|
||||
return;
|
||||
}
|
||||
|
||||
float currentValue = EventContext.GetVariable<float>(name, 0f);
|
||||
if (!EventContext.HasVariable(name))
|
||||
{
|
||||
EventContext.SetVariable(name, 0f);
|
||||
}
|
||||
|
||||
float currentValue = EventContext.GetVariable<float>(name);
|
||||
|
||||
switch (operation)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user