Skip to content

Commit b865ccb

Browse files
committed
development: change dev setup slightly
its different on other devices.
1 parent aa15525 commit b865ccb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

development/module/premake5.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ PROJECT_GENERATOR_VERSION = 3
55
newoption({
66
trigger = "gmcommon",
77
description = "Sets the path to the garrysmod_common (https://github.com/danielga/garrysmod_common) directory",
8-
default = "../../../fork-garrysmod_common"
8+
default = io.open("../../../fork-garrysmod_common/license.txt", "r") and "../../../fork-garrysmod_common" or "../garrysmod_common"
99
})
1010

1111
local gmcommon = assert(_OPTIONS.gmcommon or os.getenv("GARRYSMOD_COMMON"),

0 commit comments

Comments
 (0)