added build and module options to flake #4
|
@ -229,7 +229,8 @@ impl GameState {
|
||||||
6 => 11,
|
6 => 11,
|
||||||
_ => 14,
|
_ => 14,
|
||||||
};
|
};
|
||||||
player.points -= negative;
|
// check if the absolute value of negative is less than the points
|
||||||
|
player.points = player.points.saturating_sub(negative);
|
||||||
|
|
||||||
if player.floor.start == 1 {
|
if player.floor.start == 1 {
|
||||||
self.starting_player = player_name.clone();
|
self.starting_player = player_name.clone();
|
||||||
|
|
Loading…
Reference in New Issue