Skip to content

Commit

Permalink
chore: fix the broken next function for SetTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
raklaptudirm committed Dec 27, 2024
1 parent af1965b commit 5d03313
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions games/src/interface/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -601,8 +601,8 @@ macro_rules! set_type {
};

if !$name::is_empty(*self) {
let copy = *self;
*self = copy & (copy - Self($typ::from(1u8)));
let copy = $typ::from(*self);
self.0 = copy & (copy - $typ::from(1u8));
}

lsb
Expand Down

0 comments on commit 5d03313

Please sign in to comment.