Update MainMenu.cs
This commit is contained in:
parent
dd925c3796
commit
69305eb47f
@ -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("http://dev.steelants.cz/vasek/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("http://dev.steelants.cz/vasek/GGJ2021/GeorgeJones/Server/api.php", form));
|
||||
DataManager.Level(0);
|
||||
SceneManager.LoadScene(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user