diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-04-29 20:30:52 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-04-29 20:30:52 -0400 |
| commit | 6f6cce0561c19e7af14bcc6e6b1c7de2d5efc530 (patch) | |
| tree | a0a9e142b4741ed109a00059e3b98efc86b25b4d /gamemode/processes.lua | |
| parent | 534ce8e8612da3ba6d610a782eeaf10c9135b947 (diff) | |
| download | gmstranded-6f6cce0561c19e7af14bcc6e6b1c7de2d5efc530.tar.gz gmstranded-6f6cce0561c19e7af14bcc6e6b1c7de2d5efc530.tar.bz2 gmstranded-6f6cce0561c19e7af14bcc6e6b1c7de2d5efc530.zip | |
a halfway commit to show scott
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" ) ) |
