Skip to content

Commit 68b09f6

Browse files
committed
Fix os.get() deprecation warning in utils/buildactions/install_data.lua
1 parent f6a9f05 commit 68b09f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/buildactions/install_data.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ newaction {
3333
-- Make sure server/x64 directory exists
3434
os.mkdir(BIN_DIR.."/server/x64")
3535

36-
if os.get() == "windows" then
36+
if os.host() == "windows" then
3737
http.download_print_errors(NET_PATH_X86_WIN, BIN_DIR.."/server/net.dll")
3838
http.download_print_errors(NET_PATH_X64_WIN, BIN_DIR.."/server/x64/net.dll")
3939
http.download_print_errors(NETC_PATH_WIN, BIN_DIR.."/MTA/netc.dll")

0 commit comments

Comments
 (0)