summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gamemode/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/init.lua b/gamemode/init.lua
index ce2cddd..da59bc3 100644
--- a/gamemode/init.lua
+++ b/gamemode/init.lua
@@ -981,7 +981,7 @@ function GM:PlayerInitialSpawn( ply )
end*/
if ( tbl["resources"] ) then
- for k, v in pairs( tbl["resources"] ) do ply:SetResource( k, v ) end
+ for k, v in pairs( tbl["resources"] ) do ply:SetResource( string.Replace(k,"_"," "), v ) end
end
if ( tbl["weapons"] ) then