Skip to content

Conversation

panoschagias
Copy link
Contributor

@panoschagias panoschagias commented Mar 18, 2024

By pressing the key g you become indestructible.

@panoschagias panoschagias mentioned this pull request Mar 19, 2024
@panoschagias
Copy link
Contributor Author

@jadijadi conflicts are now resolved

src/main.rs Outdated
Comment on lines 528 to 533
if world.game_mode == GameMode::Normal {
world.game_mode = GameMode::God;
} else if world.game_mode == GameMode::God {
world.game_mode = GameMode::Normal;
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

match world.game_mod{ //toggle GameMode
GameMode::Normal =>world.game_mode = GameMode::God,
GameMode::God =>world.game_mode = GameMode::Normal

}

@panoschagias
Copy link
Contributor Author

@jadijadi conflicts resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants