less instant disconnect, more broken multiplayer

This commit is contained in:
Anuken
2020-06-23 21:07:20 -04:00
parent d095008e7c
commit db2f61ec29
3 changed files with 8 additions and 3 deletions

View File

@@ -127,12 +127,12 @@ abstract class UnitComp implements Healthc, Physicsc, Hitboxc, Statusc, Teamc, I
public void afterSync(){
//set up type info after reading
setStats(this.type);
controller.unit(this);
}
@Override
public void afterRead(){
//set up type info after reading
setStats(this.type);
afterSync();
}
@Override