Skip to content

Commit

Permalink
Add option to customize default toggle type for vehicle.
Browse files Browse the repository at this point in the history
This is last commit for issue #4.
Close #4
  • Loading branch information
LoogleCZ committed Aug 8, 2018
1 parent 52bc559 commit d43dbd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/icSources/InteractiveControl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function InteractiveControl:load(savegame)
return calculateIndex+index;
end;

self.LIC.toggleStyleState = 1;
self.LIC.toggleStyleState = Utils.clamp(Utils.getNoNil(getXMLInt(self.xmlFile,"vehicle.interactiveComponents#toggleStyle"), 1), 1, 2);
self.LIC.lastMouseXPos = 0;
self.LIC.lastMouseYPos = 0;
self.LIC.foundInteractiveObject = nil;
Expand Down

0 comments on commit d43dbd8

Please sign in to comment.