Skip to content

Commit

Permalink
feat (SpawnMenu): add VehicleWater support
Browse files Browse the repository at this point in the history
  • Loading branch information
Timmy-the-nobody authored and gtnardy committed Aug 4, 2023
1 parent a78d824 commit ff0c759
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Client/SpawnMenu.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ Package.Subscribe("Load", function()
SpawnMenu.AddInheritedClasses("entities", Prop) -- Inherited from Prop is Entity?
SpawnMenu.AddInheritedClasses("weapons", Grenade)
SpawnMenu.AddInheritedClasses("weapons", Weapon, ToolGun)
SpawnMenu.AddInheritedClasses("vehicles", Vehicle)

SpawnMenu.AddInheritedClasses("vehicles", VehicleWheeled)
SpawnMenu.AddInheritedClasses("vehicles", VehicleWater)
MainHUD:CallEvent("SetSpawnMenuItems", SpawnMenu.items)
end)

Expand Down Expand Up @@ -325,4 +325,4 @@ RequireAllLuaFilesInFolder("Client/Weapons")
RequireAllLuaFilesInFolder("Client/Entities")

-- Extra
Package.Require("NPC.lua")
Package.Require("NPC.lua")

0 comments on commit ff0c759

Please sign in to comment.