Skip to content

Commit da48dfd

Browse files
committed
Enable the addon on the "network_test" branch.
1 parent a3369a5 commit da48dfd

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
452
2-
1772790434
1+
453
2+
1775771688

lua/streamradio_core/_load.lua

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -275,15 +275,15 @@ local function loadAddon()
275275
local BRANCH = BRANCH or ""
276276
local versionError = nil
277277

278-
if BRANCH == "network_test" then
279-
-- The Branch contains upcomming network changes, but might might be at least a major patch behind on most other stuff.
280-
281-
if CLIENT then
282-
versionError = string.format("Your GMod-Client runs on an outdated branch (version: %s)\nPlease switch to an up-to-date branch! Recommended: Puplic or x86-64.", BRANCH)
283-
else
284-
versionError = string.format("The GMod-Server runs on an outdated branch (version: %s)\nPlease switch to an up-to-date branch! Recommended: Puplic or x86-64.", BRANCH)
285-
end
286-
else
278+
-- if BRANCH == "network_test" then
279+
-- -- The Branch contains upcomming network changes, but might might be at least a major patch behind on most other stuff.
280+
281+
-- if CLIENT then
282+
-- versionError = string.format("Your GMod-Client runs on an outdated branch (version: %s)\nPlease switch to an up-to-date branch! Recommended: Puplic or x86-64.", BRANCH)
283+
-- else
284+
-- versionError = string.format("The GMod-Server runs on an outdated branch (version: %s)\nPlease switch to an up-to-date branch! Recommended: Puplic or x86-64.", BRANCH)
285+
-- end
286+
-- else
287287
if VERSION > 5 then
288288
-- Sometimes the version is not known, yet.
289289

@@ -301,7 +301,7 @@ local function loadAddon()
301301
end
302302
end
303303
end
304-
end
304+
--end
305305

306306
if versionError then
307307
throwError(versionError)

0 commit comments

Comments
 (0)