mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 02:24:12 +02:00
shove changes_often into the enum
This commit is contained in:
parent
0a34318c65
commit
a3fc003437
2 changed files with 35 additions and 6 deletions
|
|
@ -129,7 +129,7 @@ impl ParseSendTable {
|
|||
// sort often changed props before the others
|
||||
let mut start = 0;
|
||||
for i in 0..flat.len() {
|
||||
if flat[i].changes_often {
|
||||
if flat[i].parse_definition.changes_often() {
|
||||
if i != start {
|
||||
flat.swap(i, start);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue