22 """ Gets a new random seed from the rgthree_seed_random_state and resetting the previous state.""" 23 global seed_random_state 24 prev_random_state = random.getstate() 25 random.setstate(seed_random_state) 26 seed = random.randint(1, 18446744073709551615) 27 seed_random_state = random.getstate() 28 random.setstate(prev_random_state) 29 return seed