|
@@ -43,7 +43,7 @@ public class PlayerController : MonoBehaviour
|
|
|
int mode = 0;
|
|
|
//public GameObject Time;
|
|
|
|
|
|
- static Client client = new Client();
|
|
|
+ static Client client;
|
|
|
|
|
|
DateTimePicker Date;
|
|
|
|
|
@@ -67,6 +67,7 @@ public class PlayerController : MonoBehaviour
|
|
|
void Start()
|
|
|
{
|
|
|
DebugHelper.ActivateConsole();
|
|
|
+ client = Camera.main.GetComponent<Client>();
|
|
|
markers = new List<Marker>();
|
|
|
locations = new List<Location>();
|
|
|
|