mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-22 12:38:05 +07:00
Networking fix
This commit is contained in:
parent
2dbbd62163
commit
f00209ece7
@ -125,6 +125,9 @@ public class EntityIO{
|
||||
if(write){
|
||||
//write uses most recent revision
|
||||
for(RevisionField field : revisions.peek().fields){
|
||||
Svar var = allFields.find(s -> s.name().equals(field.name));
|
||||
if(var == null || var.has(NoSync.class)) continue;
|
||||
|
||||
io(field.type, "this." + field.name, true);
|
||||
}
|
||||
}else{
|
||||
|
Loading…
Reference in New Issue
Block a user