Skip to content
Snippets Groups Projects
Commit f4f8fe37 authored by BuildTools's avatar BuildTools
Browse files

merge de revert

parent e6ddf8b6
No related merge requests found
...@@ -85,8 +85,9 @@ public class PlayerMovement : MonoBehaviour ...@@ -85,8 +85,9 @@ public class PlayerMovement : MonoBehaviour
void gameIntelligence() void gameIntelligence()
{ {
if (this.GetComponent<PlayerNature>().currentNature >= 100 && stage == 0) if (this.GetComponent<PlayerNature>().currentNature <= 100 && stage == 0)
{ {
Debug.Log("OK");
GenerateMap.instance.generateBoutique(0, 0, "chaussure"); GenerateMap.instance.generateBoutique(0, 0, "chaussure");
stage++; stage++;
} }
...@@ -123,7 +124,7 @@ public class PlayerMovement : MonoBehaviour ...@@ -123,7 +124,7 @@ public class PlayerMovement : MonoBehaviour
else if (stage == 7 && ispassed[3] == true) else if (stage == 7 && ispassed[3] == true)
{ {
GenerateMap.instance.generateUsine(1, 0); GenerateMap.instance.generateUsine(1, 0);
stage++; //stage++;
} }
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment