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