Skip to content

Commit

Permalink
Merge branch 'master' of github.com:PrimaryFeather/Starling-Framework
Browse files Browse the repository at this point in the history
  • Loading branch information
PrimaryFeather committed Jan 30, 2013
2 parents 5d20e29 + 8644744 commit d7c1ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starling/src/starling/utils/AssetManager.as
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ package starling.utils

function resume():void
{
currentRatio = 1.0 - (mRawAssets.length / numElements);
currentRatio = mRawAssets.length ? 1.0 - (mRawAssets.length / numElements) : 1.0;

if (mRawAssets.length)
timeoutID = setTimeout(processNext, 1);
Expand Down

0 comments on commit d7c1ddb

Please sign in to comment.