Skip to content

Commit

Permalink
Resolved conflict with FS22_QuickCamera
Browse files Browse the repository at this point in the history
Speed settings are now disabled in LumberJack when FS22_QuickCamera mod is active
  • Loading branch information
loki79uk committed Jun 26, 2023
1 parent 3eb855c commit 836cbb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions LumberJack.lua
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,10 @@ function LumberJack:update(dt)
end
end

if g_modIsLoaded['FS22_PlayerSpeed'] then
print("LUMBERJACK SPEED DISABLED: FS22_PlayerSpeed detected")
if g_modIsLoaded['FS22_PlayerSpeed']
or g_modIsLoaded['FS22_QuickCamera']
then
print("LUMBERJACK SPEED DISABLED")
LumberJack.menuItems.maxWalkingSpeed = nil
LumberJack.menuItems.maxRunningSpeed = nil
LumberJack.SETTINGS.maxWalkingSpeed.disabled = true
Expand Down
2 changes: 1 addition & 1 deletion modDesc.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="74">
<author>loki_79</author>
<version>1.5.0.1</version>
<version>1.5.0.2</version>
<title>
<en>LumberJack</en>
<de>Holzfäller</de>
Expand Down

0 comments on commit 836cbb4

Please sign in to comment.