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.Remove( 1024 );
reader.ReadUInt8(); // progress byte, but we ignore this. byte progress = reader.ReadUInt8();
float progress = (float)mapIndex / map.Length; game.MapEvents.RaiseMapLoading( progress );
game.MapEvents.RaiseMapLoading( (byte)(progress * 100) );
} }
void HandleLevelFinalise() { void HandleLevelFinalise() {