Permalink
Browse files

Fix GM:GetVehicles()

vehicles library is gone, so we gotta use new method. But why do we even need this function and why it's clientside only?
  • Loading branch information...
1 parent ee1dd98 commit 9db4941a76cd60430e5251875ab5773996cf4318 @robotboy655 robotboy655 committed Oct 22, 2013
Showing with 2 additions and 3 deletions.
  1. +2 −3 garrysmod/gamemodes/base/gamemode/cl_init.lua
@@ -1,4 +1,3 @@
-
include( 'shared.lua' )
include( 'cl_scoreboard.lua' )
include( 'cl_targetid.lua' )
@@ -262,7 +261,7 @@ end
-----------------------------------------------------------]]
function GM:GetVehicles()
- return vehicles.GetTable()
+ return list.Get( "Vehicles" )
end
@@ -678,4 +677,4 @@ end
function GM:CreateClientsideRagdoll( entity, ragdoll )
-end
+end

0 comments on commit 9db4941

Please sign in to comment.