Skip to content

Commit

Permalink
Fix FFI backup and print path in patcher script
Browse files Browse the repository at this point in the history
  • Loading branch information
Aussiemon committed Apr 5, 2023
1 parent a9d32a2 commit f2b1609
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions binaries/mod_loader
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
local mod_directory = "./../mods"

-- Mod initialization code --
local debug = debug
local io = io
local ffi = ffi

local assert = assert
local ipairs = ipairs
local loadstring = loadstring
Expand All @@ -20,6 +15,11 @@ local table = table
local tonumber = tonumber
local tostring = tostring

-- Mod initialization code --
local debug = rawget(_G, "debug")
local io = rawget(_G, "io")
local ffi = require("ffi")

Mods = {
file = {},
message = {},
Expand Down
2 changes: 1 addition & 1 deletion toggle_darktide_mods.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off
echo Starting Darktide patcher...
echo Starting Darktide patcher from %~dp0...
.\tools\dtkit-patch --toggle .\bundle
if errorlevel 1 goto failure
pause
Expand Down

0 comments on commit f2b1609

Please sign in to comment.