Accidentally removed some important lines in DataTheft :)

This commit is contained in:
Jonny_Bro (Nikita) 2024-05-29 10:24:56 +05:00 committed by GitHub
parent ee92e0cc19
commit 9e005f61c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,11 @@ if SERVER then
net.Broadcast()
for _, v in ipairs(player.GetAll()) do
v:DataTheft_Bank()
v:SetNW2Int("DataCubes", 0)
v:SetNW2Int("DataBanked", 0)
if v:GetMoveType() == MOVETYPE_NOCLIP then
v:SetMoveType(MOVETYPE_WALK)
v:Spawn()
@ -107,4 +112,4 @@ if CLIENT then
hook.Add("BeatrunHUDCourse", "DataTheftHUDName", DataTheftHUDName)
chat.AddText(Color(200, 200, 200), language.GetPhrase("beatrun.datatheft.start"))
end)
end
end