mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-11 08:15:35 +03: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