Update MainMenu.cs

This commit is contained in:
haitem 2021-01-31 16:59:22 +01:00
parent 4536ae2f5d
commit 0cfe588fb0

View File

@ -35,7 +35,7 @@ public class MainMenu : MonoBehaviour
public void Score()
{
StartCoroutine(GetText("https://dev.steelants.cz/vasek/GGJ2021/GeorgeJones/Server/api.php"));
StartCoroutine(GetText("https://dev.steelants.cz/GGJ2021/GeorgeJones/Server/api.php"));
}
public void BackToMainMenu()
@ -60,7 +60,7 @@ public class MainMenu : MonoBehaviour
form.AddField("name", name.text);
form.AddField("score", DataManager.Score().ToString());
StartCoroutine(PostText("https://dev.steelants.cz/vasek/GGJ2021/GeorgeJones/Server/api.php", form));
StartCoroutine(PostText("https://dev.steelants.cz/GGJ2021/GeorgeJones/Server/api.php", form));
DataManager.Level(0);
SceneManager.LoadScene(0);
}