Fixed the elevator for multiplayer
This commit is contained in:
@@ -156,7 +156,7 @@ public class ElevatorBox : NetworkBehaviour
|
||||
|
||||
Debug.Log("Calling Lift transfer sequence");
|
||||
|
||||
switch (targetFloor)
|
||||
switch (currentFloor)
|
||||
{
|
||||
case int f when f == floors[0].floorNumber:
|
||||
targetFloor = floors[1].floorNumber;
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace _PROJECT.NewHandPresence
|
||||
var devices = new List<InputDevice>();
|
||||
InputDevices.GetDevicesWithCharacteristics(controllerCharacteristics, devices);
|
||||
|
||||
Debug.Log("Found devices: " + devices.Count);
|
||||
//Debug.Log("Found devices: " + devices.Count);
|
||||
|
||||
if (devices.Count <= 0) return;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user