Skip to content

Commit

Permalink
Code fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
DELUXEHUNTER authored Feb 14, 2024
1 parent a2484c7 commit cf6909b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Neoa/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

public class Program
{
public static string input;
public static Player Player = new();

public static void Main()
Expand Down Expand Up @@ -287,7 +286,7 @@ public static void Prologue()
Console.WriteLine();

DisplayLine(ConsoleColor.Green,"You","",0);
input = Console.ReadLine();
string input = Console.ReadLine();
while(input.ToLower != "s" && input.ToLower != "i")

Check failure on line 290 in Neoa/Program.cs

View workflow job for this annotation

GitHub Actions / build

Operator '!=' cannot be applied to operands of type 'method group' and 'string'

Check failure on line 290 in Neoa/Program.cs

View workflow job for this annotation

GitHub Actions / build

Operator '!=' cannot be applied to operands of type 'method group' and 'string'

Check failure on line 290 in Neoa/Program.cs

View workflow job for this annotation

GitHub Actions / build

Operator '!=' cannot be applied to operands of type 'method group' and 'string'

Check failure on line 290 in Neoa/Program.cs

View workflow job for this annotation

GitHub Actions / build

Operator '!=' cannot be applied to operands of type 'method group' and 'string'
{
DisplayLine(ConsoleColor.White,"narrator",$"{Player.Name} just stands there doing nothing");
Expand Down

0 comments on commit cf6909b

Please sign in to comment.