Make work with astra
This commit is contained in:
parent
21859bcfb3
commit
c8ee5045e2
1 changed files with 6338 additions and 4613 deletions
|
|
@ -46,8 +46,9 @@ public class TrafficController : NetworkBehaviour {
|
|||
private float timePassedSpawn = 0;
|
||||
private int current = 0;
|
||||
|
||||
void Start () {
|
||||
if (!isServer) return;
|
||||
public override void OnStartServer () {
|
||||
base.OnStartServer();
|
||||
url = url.TrimEnd('/');
|
||||
|
||||
trafficLights = new TrafficLights();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue