Within my code, I followed along and wrote what the instructor wrote, because I couldn’t figure the problem out myself. When starting the game and selecting my level, I am instantly greeted with the incorrect password text, even though I haven’t even entered a password yet. It’s not game-breaking, but it’s definitely something I need to fix. I’m just unsure how to fix it. Any help would be greatly appreciated!
void RunPassScreen(string input)
{
if (input == password)
{
Terminal.WriteLine("*hacker voice* You're in.");
}
else
{
Terminal.WriteLine("Incorrect password.");
}
}