Skip to content

Commit db798f9

Browse files
committed
fixed interactiveControl buttons
updated modDesc
1 parent 78643de commit db798f9

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

modDesc.xml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
2-
<modDesc descVersion="73">
2+
<modDesc descVersion="74">
33
<author>Vertex Dezign</author>
4-
<version>1.1.0.0</version>
4+
<version>1.1.1.0</version>
55

66
<title>
77
<en>Interactive Control</en>
@@ -20,6 +20,10 @@ Using the controls you can steer different things:
2020
2121
For further informations: <a href="https://github.com/TobiasF92/FS22_interactiveControl/blob/main/README.md">README</a> on Github.
2222
23+
Changelog (1.1.1.0):
24+
- Updated translations: russian
25+
- Fixed InteractiveButtons not working
26+
2327
Changelog (1.1.0.0):
2428
- Added translations: italian, russian, polish, czech
2529
- Added mod compatibility with 'FS22_additionalGameSettings'
@@ -44,6 +48,10 @@ Mit den Bedienelementen können Sie verschiedene Dinge steuern:
4448
4549
Für mehr Informationen: <a href="https://github.com/TobiasF92/FS22_interactiveControl/blob/main/README.md">README</a> auf Github.
4650
51+
Changelog (1.1.1.0):
52+
- Aktualisierte Übersetzungen: russisch
53+
- Behoben, dass Interactive Buttons nicht mehr funktionierten
54+
4755
Changelog (1.1.0.0):
4856
- Übersetzungen hinzugefügt: italienisch, russisch, polnisch, tschechisch
4957
- Kompatibilität mit 'FS22_additionalGameSettings' hinzugefügt

src/vehicles/specializations/InteractiveControl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ function InteractiveControl:updateInteractiveControls(isIndoor, isOutdoor, hasIn
750750
local indoor = isIndoor and icState and hasInput and button:isIndoorActive()
751751
local outdoor = isOutdoor and not hasInput and button:isOutdoorActive()
752752

753-
if button:isActivatable() and isCurrentlyEnabled and (indoor or outdoor)
753+
if button:isActivatable() and interactiveControl.isCurrentlyEnabled and (indoor or outdoor)
754754
and (activeController == nil or activeController:isa(InteractiveButton)) then
755755

756756
button:updateDistance(self.currentUpdateDistance)

0 commit comments

Comments
 (0)