mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 21:33: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()
|
||||||
|
|
Loading…
Reference in a new issue