mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 05:13:02 +05:00
Accidentally removed some important lines in DataTheft :)
This commit is contained in:
parent
ee92e0cc19
commit
9e005f61c9
1 changed files with 6 additions and 1 deletions
|
@ -9,6 +9,11 @@ if SERVER then
|
||||||
net.Broadcast()
|
net.Broadcast()
|
||||||
|
|
||||||
for _, v in ipairs(player.GetAll()) do
|
for _, v in ipairs(player.GetAll()) do
|
||||||
|
v:DataTheft_Bank()
|
||||||
|
|
||||||
|
v:SetNW2Int("DataCubes", 0)
|
||||||
|
v:SetNW2Int("DataBanked", 0)
|
||||||
|
|
||||||
if v:GetMoveType() == MOVETYPE_NOCLIP then
|
if v:GetMoveType() == MOVETYPE_NOCLIP then
|
||||||
v:SetMoveType(MOVETYPE_WALK)
|
v:SetMoveType(MOVETYPE_WALK)
|
||||||
v:Spawn()
|
v:Spawn()
|
||||||
|
@ -107,4 +112,4 @@ if CLIENT then
|
||||||
hook.Add("BeatrunHUDCourse", "DataTheftHUDName", DataTheftHUDName)
|
hook.Add("BeatrunHUDCourse", "DataTheftHUDName", DataTheftHUDName)
|
||||||
chat.AddText(Color(200, 200, 200), language.GetPhrase("beatrun.datatheft.start"))
|
chat.AddText(Color(200, 200, 200), language.GetPhrase("beatrun.datatheft.start"))
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue