From d6f8bc448ff0719d54b06edc4ed14dc7089e63ae Mon Sep 17 00:00:00 2001 From: Kamp Date: Sat, 14 Sep 2024 14:51:04 -0400 Subject: [PATCH] Remove unused variable --- src/server/main/Elevators/System/init.luau | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/server/main/Elevators/System/init.luau b/src/server/main/Elevators/System/init.luau index d364485..a8fd9c3 100644 --- a/src/server/main/Elevators/System/init.luau +++ b/src/server/main/Elevators/System/init.luau @@ -47,10 +47,9 @@ type Constructor_Return_Props = { ewarnStudio: (T...) -> (), Elevator: { - TravelingDirection: Enums.ElevatorCallDirectionValues, - BoxModel: BasePart, - AlignPosition: AlignPosition, - Configuration: ElevatorTypes.ElevatorConfigurationTable + BoxModel: BasePart, + AlignPosition: AlignPosition, + Configuration: ElevatorTypes.ElevatorConfigurationTable }, Attributes: Attributes, Events: Events, @@ -149,10 +148,10 @@ function Elevator.constructor(ElevatorBoxModel, ElevatorConfigurationTable, Floo local Leveling3Phase = Instance.new("BindableEvent") :: BindableEvent local Attributes = { - PreviousFloor = Instance.new("IntValue") :: IntValue, - CurrentFloor = Instance.new("IntValue") :: IntValue, + PreviousFloor = Instance.new("IntValue") :: IntValue, + CurrentFloor = Instance.new("IntValue") :: IntValue, NextFloor = Instance.new("IntValue") :: IntValue, - Goal = Instance.new("IntValue") :: IntValue, + Goal = Instance.new("IntValue") :: IntValue, TravelingUpwards = Instance.new("BoolValue") :: BoolValue, Stopped = Instance.new("BoolValue") :: BoolValue } @@ -171,10 +170,9 @@ function Elevator.constructor(ElevatorBoxModel, ElevatorConfigurationTable, Floo ewarnStudio = ewarnStudio, Elevator = { - TravelingDirection = Enums.ElevatorCallDirection.Up, - BoxModel = ElevatorBoxModel, - AlignPosition = BoxAlignPosition, - Configuration = ElevatorConfigurationTable, + BoxModel = ElevatorBoxModel, + AlignPosition = BoxAlignPosition, + Configuration = ElevatorConfigurationTable, }, Events = {