Puuuush
This commit is contained in:
@@ -51,6 +51,8 @@ public class PlayablePlayer : Player
|
||||
diceScript = dice.GetComponent<Dice>();
|
||||
|
||||
instance = this;
|
||||
|
||||
AddItem(client.items[2]);
|
||||
}
|
||||
|
||||
public static PlayablePlayer GetCurrentInstance()
|
||||
|
||||
@@ -99,8 +99,7 @@ public class StartHandler : MonoBehaviour
|
||||
stream.Read(readMessage, 0, 10);
|
||||
|
||||
string s = Encoding.ASCII.GetString(readMessage);
|
||||
Debug.Log(s);
|
||||
|
||||
|
||||
PlayerPrefs.SetString("roomcode", s);
|
||||
PlayerPrefs.Save();
|
||||
SceneManager.LoadScene(1, LoadSceneMode.Single);
|
||||
|
||||
Reference in New Issue
Block a user