Quick fix for last commit.

This commit is contained in:
UnknownShadow200 2016-01-30 23:45:12 +11:00
parent 4279ed3f78
commit 1a6b47266d

View File

@ -141,9 +141,8 @@ namespace ClassicalSharp {
}
reader.Remove( 1024 );
reader.ReadUInt8(); // progress byte, but we ignore this.
float progress = (float)mapIndex / map.Length;
game.MapEvents.RaiseMapLoading( (byte)(progress * 100) );
byte progress = reader.ReadUInt8();
game.MapEvents.RaiseMapLoading( progress );
}
void HandleLevelFinalise() {