fr.jeanf.questsystem 0.0.49 → 0.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -102,9 +102,9 @@ namespace jeanf.questsystem
102
102
  #region Instantiations & Loading
103
103
  public void InstantiateQuestStep(string id)
104
104
  {
105
+ if (!stepMap.ContainsKey(id)) return;
105
106
  if (stepMap[id].stepStatus != QuestStepStatus.Inactive) return;
106
107
  if (activeSteps.ContainsKey(id)) return;
107
- if (!stepMap.ContainsKey(id)) return;
108
108
 
109
109
  Instantiate(stepMap[id], this.transform, true);
110
110
  //if(!activeSteps.ContainsKey(id)) activeSteps.Add(id,Instantiate(stepMap[id], this.transform, true));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name":"fr.jeanf.questsystem",
3
- "version":"0.0.49",
3
+ "version":"0.0.50",
4
4
  "displayName":"Quest system",
5
5
  "description":"This package uses Scriptable Objects to define quests.",
6
6
  "unity": "2021.3",