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;
|
||||
|
||||
Reference in New Issue
Block a user