From d73e78d8d98da223410f51f390549336554eb54d Mon Sep 17 00:00:00 2001 From: Scott Date: Sat, 21 May 2016 16:49:40 -0400 Subject: Fixed plant limit message --- gamemode/itemsystem/common_plantable.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gamemode/itemsystem') 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 -- cgit v1.2.3-70-g09d2