diff options
| author | Scott <scotth0828@gmail.com> | 2016-05-21 16:49:40 -0400 |
|---|---|---|
| committer | Scott <scotth0828@gmail.com> | 2016-05-21 16:49:40 -0400 |
| commit | d73e78d8d98da223410f51f390549336554eb54d (patch) | |
| tree | bd58ebb110466b0793aedeec87b9f60a8ebce305 /gamemode | |
| parent | da286ba0715020f5d3972b36082c0831f9fae0c6 (diff) | |
| download | gmstranded-d73e78d8d98da223410f51f390549336554eb54d.tar.gz gmstranded-d73e78d8d98da223410f51f390549336554eb54d.tar.bz2 gmstranded-d73e78d8d98da223410f51f390549336554eb54d.zip | |
Fixed plant limit message
Diffstat (limited to 'gamemode')
| -rw-r--r-- | gamemode/itemsystem/common_plantable.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gamemode/itemsystem/common_plantable.lua b/gamemode/itemsystem/common_plantable.lua index 3754f73..9eefab1 100644 --- a/gamemode/itemsystem/common_plantable.lua +++ b/gamemode/itemsystem/common_plantable.lua @@ -19,7 +19,7 @@ local function plant(player, resourcename) assert(isfunction(tbl.OnGrow),tbl.Name .. " .OnGrow is not a table") if(player:GetNWInt("plants") > GetConVar("gms_PlantLimit"):GetInt()) then - player:SendMessage( "You man only have " .. GetConVar("gms_PlantLimit") .. " plants at a time.", 3, Color( 10, 200, 10, 255 ) ) + player:SendMessage( "You man only have " .. GetConVar("gms_PlantLimit"):GetInt() .. " plants at a time.", 3, Color( 10, 200, 10, 255 ) ) return end |
