Skip to content
This repository was archived by the owner on Nov 25, 2025. It is now read-only.

Commit 31e2f64

Browse files
committed
fix
1 parent f17aad7 commit 31e2f64

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lua/sa/core/server/main.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ function PlayerMeta:AssignFaction(name, cb)
3636
end
3737

3838
function PlayerMeta:RewardCredits(creds)
39-
ply.sa_data.credits = ply.sa_data.credits + creds
40-
ply.sa_data.score = ply.sa_data.score + creds
41-
SA.SendBasicInfo(ply)
39+
self.sa_data.credits = self.sa_data.credits + creds
40+
self.sa_data.score = self.sa_data.score + creds
41+
SA.SendBasicInfo(self)
4242
end
4343

4444
local function SA_AddSAData(ply)

0 commit comments

Comments
 (0)