diff options
Diffstat (limited to 'gamemode/processes.lua')
| -rw-r--r-- | gamemode/processes.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/processes.lua b/gamemode/processes.lua index b75db3b..4b7fc15 100644 --- a/gamemode/processes.lua +++ b/gamemode/processes.lua @@ -218,7 +218,7 @@ function PROCESS:OnStop() local res = self.Results[math.random( 1, #self.Results )] local amount = math.random( 1, 3 ) - self.Owner:IncResource( string.gsub( res, " ", "_" ), amount ) + self.Owner:IncResource( res , amount ) self.Owner:IncXP( "Harvesting", math.Clamp( math.Round( 50 / self.Owner:GetSkill( "Harvesting" ) ), 1, 1000 ) ) self.Owner:SendMessage( res .. " ( " .. amount .. "x )", 3, Color( 10, 200, 10, 255 ) ) self.Owner:EmitSound( Sound( "items/ammo_pickup.wav" ) ) |
