Skip to content

Commit

Permalink
bugfix: Issue #13 removing javascript that was just wrong lol, doing …
Browse files Browse the repository at this point in the history
…now so when people beta test we can make sure the small change didn't break anything
  • Loading branch information
jonahhb committed Feb 11, 2024
1 parent 2062e88 commit eb10f8e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions com.f1-tools.mvf1.sdPlugin/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ const multi_action_data = {

function exitTileScreen(device) {
$SD.switchToProfile(device);
// multi_action_device_data[device] = {};
}

function waitToSync(id, oldPlayer, oldest_id) {
Expand Down Expand Up @@ -887,9 +886,9 @@ function updateProfileIcons(device, target_page) {
if (
new_driver === undefined ||
new_driver === null ||
new_driver === '' ||
new_driver === {} ||
new_driver === []
new_driver === '' // ||
// new_driver === {} ||
// new_driver === []
) {
new_driver = {
tla: '',
Expand Down Expand Up @@ -965,9 +964,9 @@ PlayerTile.onKeyDown(({ action, context, device, event, payload }) => {
if (
driver === undefined ||
driver === null ||
driver === '' ||
driver === {} ||
driver === []
driver === '' // ||
// driver === {} ||
// driver === []
) {
// if the tile is empty, go back to the profile
updateProfileIcons(device, 0);
Expand Down

0 comments on commit eb10f8e

Please sign in to comment.