Skip to content

Commit

Permalink
Removed old Workshop download
Browse files Browse the repository at this point in the history
Also replaced all ACF_CheckLegal calls with ACF.CheckLegal so that it can be deprecated
  • Loading branch information
thecraftianman committed Oct 11, 2023
1 parent f473842 commit b6d9ab3
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions lua/acf/core/acfm_globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ game.AddParticles("particles/flares_fx.pcf")

PrecacheParticleSystem("ACFM_Flare")

if SERVER then
resource.AddWorkshop("403587498")
end

do -- Update checker
hook.Add("ACF_OnLoadAddon", "ACF Missiles Checker", function()
ACF.AddRepository("TwistedTail", "ACF-3-Missiles", "lua/acf/core/acfm_globals.lua")
Expand Down
2 changes: 1 addition & 1 deletion lua/entities/acf_computer/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ end)
-- Local Funcs and Vars
--===============================================================================================--

local CheckLegal = ACF_CheckLegal
local CheckLegal = ACF.CheckLegal
local UnlinkSound = "physics/metal/metal_box_impact_bullet%s.wav"
local MaxDistance = ACF.LinkDistance * ACF.LinkDistance
local HookRun = hook.Run
Expand Down
2 changes: 1 addition & 1 deletion lua/entities/acf_rack/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ end
do -- Spawning and Updating --------------------
local UnlinkSound = "physics/metal/metal_box_impact_bullet%s.wav"
local MaxDistance = ACF.LinkDistance * ACF.LinkDistance
local CheckLegal = ACF_CheckLegal
local CheckLegal = ACF.CheckLegal
local WireIO = Utilities.WireIO
local Entities = Classes.Entities
local Racks = Classes.Racks
Expand Down
2 changes: 1 addition & 1 deletion lua/entities/acf_receiver/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ local ACF = ACF
--===============================================================================================--

local Damage = ACF.Damage
local CheckLegal = ACF_CheckLegal
local CheckLegal = ACF.CheckLegal
local TimerExists = timer.Exists
local TimerCreate = timer.Create
local TimerRemove = timer.Remove
Expand Down

0 comments on commit b6d9ab3

Please sign in to comment.