mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 05:13:02 +05:00
fix CP
This commit is contained in:
parent
8ef685b314
commit
a9e660c4b1
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ function ENT:StartTouch(ent)
|
||||||
ent:SetNW2Int("CPNum", ent:GetNW2Int("CPNum", 1) + 1)
|
ent:SetNW2Int("CPNum", ent:GetNW2Int("CPNum", 1) + 1)
|
||||||
|
|
||||||
if ent:GetNW2Int("CPNum", 1) > table.Count(Checkpoints) then
|
if ent:GetNW2Int("CPNum", 1) > table.Count(Checkpoints) then
|
||||||
ReplayStop(ent)
|
-- ReplayStop(ent)
|
||||||
FinishCourse(ent)
|
FinishCourse(ent)
|
||||||
else
|
else
|
||||||
ent.CPSavePos = ent:GetPos()
|
ent.CPSavePos = ent:GetPos()
|
||||||
|
|
Loading…
Reference in a new issue