From 3fabc903996cc5e5d664baea06fb998eea931fba Mon Sep 17 00:00:00 2001 From: Alexis Badel Date: Sun, 18 Dec 2022 06:56:36 +0100 Subject: [PATCH] fix(prem): missing args to func --- lua/cosmo/action_types/sh_pointshop_two.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/cosmo/action_types/sh_pointshop_two.lua b/lua/cosmo/action_types/sh_pointshop_two.lua index 3d19107..39fb3bf 100644 --- a/lua/cosmo/action_types/sh_pointshop_two.lua +++ b/lua/cosmo/action_types/sh_pointshop_two.lua @@ -32,7 +32,7 @@ Cosmo.ActionType.Register(PS2_STANDARD_POINTS) local PS2_PREMIUM_POINTS = Cosmo.ActionType.New("ps2_premium_points") -function PS2_PREMIUM_POINTS:HandlePurchase() +function PS2_PREMIUM_POINTS:HandlePurchase(action, order, ply) if not isfunction(ply.PS2_AddPremiumPoints) then Cosmo.Log.Warning("(POINTSHOP2)", "No pointshop system was found on this server") return false @@ -54,4 +54,4 @@ function PS2_PREMIUM_POINTS:HandleExpiration() return true end -Cosmo.ActionType.Register(PS2_PREMIUM_POINTS) \ No newline at end of file +Cosmo.ActionType.Register(PS2_PREMIUM_POINTS)