Skip to content

Commit 1c9ea71

Browse files
committed
Update Types.lua
1 parent 6366e46 commit 1c9ea71

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/Types.lua

+8-6
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,11 @@
33
-- If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
44

55
export type MapLib = {
6-
map: Model,
76

7+
__index: MapLib,
8+
map: Model,
9+
Map: Model,
10+
_MapHandler: any,
811
new: (any, any) -> MapLib,
912
Alert: (MapLib, string, Color3?, number?) -> nil,
1013
ChangeMusic: (MapLib, number, number?, number?) -> nil,
@@ -14,11 +17,10 @@ export type MapLib = {
1417
Move: (MapLib, PVInstance, Vector3, number?) -> nil,
1518
MoveRelative: (MapLib, PVInstance, Vector3, number?) -> nil,
1619
GetPlayers: (MapLib) -> { Player },
17-
GetFeature:
18-
((MapLib, "Players") -> PlayersFeature) &
19-
((MapLib, "Settings") -> SettingsFeature) &
20-
((MapLib, "Skills") -> SkillsFeature) &
21-
((MapLib, "PlayerUI") -> GUIFeature)
20+
GetFeature: ((MapLib, "Players") -> PlayersFeature)
21+
& ((MapLib, "Settings") -> SettingsFeature)
22+
& ((MapLib, "Skills") -> SkillsFeature)
23+
& ((MapLib, "PlayerUI") -> GUIFeature),
2224
}
2325

2426
export type PlayersFeature = {

0 commit comments

Comments
 (0)