From 9e005f61c9bb853e021bb9d4f12def5d0ebf13b8 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" <48434875+JonnyBro@users.noreply.github.com> Date: Wed, 29 May 2024 10:24:56 +0500 Subject: [PATCH] Accidentally removed some important lines in DataTheft :) --- beatrun/gamemodes/beatrun/gamemode/sh/DataTheft.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/beatrun/gamemodes/beatrun/gamemode/sh/DataTheft.lua b/beatrun/gamemodes/beatrun/gamemode/sh/DataTheft.lua index 346613c..d184b26 100644 --- a/beatrun/gamemodes/beatrun/gamemode/sh/DataTheft.lua +++ b/beatrun/gamemodes/beatrun/gamemode/sh/DataTheft.lua @@ -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 \ No newline at end of file +end