Skip to content

Commit

Permalink
Removed un-needed "using"'s from scripts + few small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZachAR3 committed Jun 26, 2023
1 parent c457130 commit 3103b87
Show file tree
Hide file tree
Showing 10 changed files with 6 additions and 25 deletions.
3 changes: 1 addition & 2 deletions Scripts/Game.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Godot;
using System;
using System.Collections.Generic;


public partial class Game : Node
{
Expand Down
1 change: 0 additions & 1 deletion Scripts/Globals.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Godot;
using System;
using System.IO;
using Octokit;

Expand Down
8 changes: 1 addition & 7 deletions Scripts/Home.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
using Godot;
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
using Godot.Collections;
using Mono.Unix;
using ProgressBar = Godot.ProgressBar;
using WindowsShortcutFactory;


public partial class Home : Control
{
Expand Down
3 changes: 1 addition & 2 deletions Scripts/ModManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
using System.Text;
using System.Text.Json;
using System.Threading.Tasks;
using Gtk;
using YuzuEAUpdateManager.Scripts.Sources;
using Button = Godot.Button;
using ProgressBar = Godot.ProgressBar;
Expand Down Expand Up @@ -146,7 +145,7 @@ await ToSignal(_titleRequester,
}
else
{
// TODO: Find a better solution for informing user
_tools.ErrorPopup($@"could not find associated game title for: {gameId}");
GD.Print("Cannot find title:" + gameId);
}
Expand Down
1 change: 0 additions & 1 deletion Scripts/ResourceSaveManager.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Godot;
using System;
using System.Threading;

public partial class ResourceSaveManager : Resource
{
Expand Down
2 changes: 1 addition & 1 deletion Scripts/SettingsPage.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Godot;
using System;


public partial class SettingsPage : Node
{
Expand Down
5 changes: 1 addition & 4 deletions Scripts/SettingsResource.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
using Godot;
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
using Godot.Collections;


public partial class SettingsResource : Resource
{
Expand Down
5 changes: 1 addition & 4 deletions Scripts/Sources/TotkHoloManager.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
using System.Collections.Generic;
using System.IO;
using System.IO;
using System.Linq;
using Godot;
using Mono.Posix;
using FileAccess = Godot.FileAccess;
using HttpClient = System.Net.Http.HttpClient;

namespace YuzuEAUpdateManager.Scripts.Sources;
Expand Down
2 changes: 0 additions & 2 deletions Scripts/Tools.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
using Godot;
using System;
using System.IO;
using System.Runtime.Loader;
using System.Threading.Tasks;
using Godot.Collections;
using Gtk;
using Octokit;
using Application = Gtk.Application;
Expand Down
1 change: 0 additions & 1 deletion Scripts/ToolsPage.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using Godot;
using System;
using System.Threading.Tasks;

public partial class ToolsPage : Control
{
Expand Down

0 comments on commit 3103b87

Please sign in to comment.