mirror of
https://github.com/JonnyBro/beatrun.git
synced 2024-12-29 05:13:02 +05:00
fix grapple in courses if grapple is disabled + remove unused vars
This commit is contained in:
parent
a4200839b6
commit
62e1d5fdb4
4 changed files with 1 additions and 5 deletions
|
@ -1,4 +1,3 @@
|
||||||
GM_DATATHEFT = 0
|
|
||||||
DATATHEFT_LOADOUTS = {
|
DATATHEFT_LOADOUTS = {
|
||||||
{"weapon_357", "weapon_ar2"}
|
{"weapon_357", "weapon_ar2"}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
GM_DEATHMATCH = 0
|
|
||||||
|
|
||||||
if SERVER then
|
if SERVER then
|
||||||
util.AddNetworkString("Deathmatch_Start")
|
util.AddNetworkString("Deathmatch_Start")
|
||||||
util.AddNetworkString("Deathmatch_Sync")
|
util.AddNetworkString("Deathmatch_Sync")
|
||||||
|
|
|
@ -6,7 +6,7 @@ if CLIENT then
|
||||||
hook.Add("HUDPaint", "grappleicon", function()
|
hook.Add("HUDPaint", "grappleicon", function()
|
||||||
local ply = LocalPlayer()
|
local ply = LocalPlayer()
|
||||||
|
|
||||||
if disable_grapple:GetBool() then return end
|
if disable_grapple:GetBool() and Course_Name == "" then return end
|
||||||
if ply:GetMantle() ~= 0 or ply:GetClimbing() ~= 0 then return end
|
if ply:GetMantle() ~= 0 or ply:GetClimbing() ~= 0 then return end
|
||||||
if not ply:Alive() or Course_Name ~= "" then return end
|
if not ply:Alive() or Course_Name ~= "" then return end
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
GM_INFECTION = 0
|
|
||||||
Infection_StartTime = 0
|
Infection_StartTime = 0
|
||||||
Infection_EndTime = 0
|
Infection_EndTime = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue