]> git.lizzy.rs Git - SuperMouseAdventure.git/commitdiff
Merge pull request #19 from EliasFleckenstein03/main
authorKG0104 <76601263+KG0104@users.noreply.github.com>
Sat, 4 Sep 2021 18:52:49 +0000 (20:52 +0200)
committerGitHub <noreply@github.com>
Sat, 4 Sep 2021 18:52:49 +0000 (20:52 +0200)
Properly set cheese counter display on respawn

1  2 
2DGame/Assets/Scripts/Dialogue/Dialogue.cs

index e78055fce29261399dad7dd68b4ea4e02a303b77,146a87e2de7cf983f1f6a93d2f9a4936d7f3559e..f398658a0a70b5cb4ed6cff9161f38648c9269cb
@@@ -1,4 -1,4 +1,4 @@@
- using System;\r
+ using System;
  using System.Collections;
  using System.Collections.Generic;
  using UnityEngine;
@@@ -16,7 -16,7 +16,7 @@@ public class Dialogue : MonoBehaviou
      public Text dialogueText;
  
      public string[] sentences;
-     
      [HideInInspector]
      public int index;
  
              {
                  skip = true;
              }
 -            else
 -            {
 -                skip = false;
 -            }
 +        } else
 +        {
 +            skip = false;
          }
      }
  
@@@ -90,4 -91,4 +90,4 @@@
              mouse.GetComponent<MouseController>().enabled = true;
          }
      }
- }
+ }