Skip to content

Commit

Permalink
update 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
t0stiman committed Dec 26, 2024
1 parent 7a6a14f commit a911b3b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
2 changes: 1 addition & 1 deletion info.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"Id": "better_mouse_mod",
"Version": "0.0.9",
"Version": "0.1.0",
"DisplayName": "Better controls mod",
"Author": "Tostiman",
"EntryMethod": "better_mouse_mod.Main.Load",
Expand Down
5 changes: 5 additions & 0 deletions repository.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"Releases": [
{
"Id": "better_mouse_mod",
"Version": "0.1.0",
"DownloadUrl": "https://github.com/t0stiman/rr_better_mouse_mod/releases/download/v0.1.0/better_mouse_mod.zip"
},
{
"Id": "better_mouse_mod",
"Version": "0.0.9",
Expand Down
10 changes: 1 addition & 9 deletions src/Patches/TrainController_Patch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@ public class TrainController_Patch
{
private static void Postfix(Car value)
{
if (!Main.MySettings.PlaceAvatarInChairOnSelectCar)
{
return;
}

if (!value.IsLocomotive)
{
return;
}
if (!Main.MySettings.PlaceAvatarInChairOnSelectCar || !value.IsLocomotive) { return; }

CameraSelector.shared.JumpToSeatWithoutCameraChange();
}
Expand Down

0 comments on commit a911b3b

Please sign in to comment.