Fixed the elevator for multiplayer

This commit is contained in:
2025-11-17 22:13:37 +02:00
parent ef3b4c363e
commit 47d37f2b7f
4 changed files with 6 additions and 6 deletions

View File

@@ -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;