1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-03-16 11:26:11 +00:00

Reset Counter when choosing direction (#143)

This commit is contained in:
sidschingis 2020-08-21 02:34:03 +02:00 committed by GitHub
parent 766d6e546c
commit 22c68f1b92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,6 +13,7 @@ static mut DIRECTION: Direction = Direction::NEUTRAL;
pub fn roll_direction() {
unsafe {
COUNTER = 0;
DIRECTION = MENU.sdi_state.get_random();
}
}