Skip to content

Commit 9cac5cd

Browse files
committed
refactor: clean up gamemode config
1 parent e11f276 commit 9cac5cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lua/pixelkarts/_config/sh_gamemode.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ function PIXEL.Karts.RemoveMoney(ply, amount) --This is called when we want to t
4747
ply:addMoney(-amount)
4848
end
4949

50-
function PIXEL.Karts.CanAfford(ply, amount) --This is called when we want to check if a player can afford something
50+
function PIXEL.Karts.CanAfford(ply, amount) --This is called when we want to check if a player can afford something.
5151
return ply:canAfford(amount)
5252
end
5353

54-
function PIXEL.Karts.KeysOwn(ply, door) --This is called when we want to set a door's owner
55-
return door:keysOwn(ply)
54+
function PIXEL.Karts.KeysOwn(ply, door) --This is called when we want to set a door's owner.
55+
door:keysOwn(ply)
5656
end

0 commit comments

Comments
 (0)