luaur_analysis/methods/
generic_counter_check_limits.rs1use crate::records::generic_counter::GenericCounter;
2use luaur_common::FFlag;
3
4impl GenericCounter {
5 pub fn check_limits(&mut self) {
6 self.steps += 1;
7 if self.steps > 1000 {
9 self.hit_limits = true;
10 }
11 }
12}