Merge branch 'chris'

This commit is contained in:
Chris Forbes
2010-05-06 08:15:57 +12:00
3 changed files with 5 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ namespace OpenRA.Effects
{
t += 40;
anim.Tick();
if (anim != null) anim.Tick();
if (t > TotalTime()) Explode( world );

View File

@@ -68,6 +68,9 @@ namespace OpenRA.Graphics
public void ReplaceAnim(string sequenceName)
{
if (!HasSequence(sequenceName))
return;
CurrentSequence = SequenceProvider.GetSequence(name, sequenceName);
frame %= CurrentSequence.Length;
}

View File

@@ -38,7 +38,7 @@ namespace OpenRAUploader
fileStream.Close();
var jsonUri = new UriBuilder(uri.Uri);
jsonUri.Path += "_version.json";
jsonUri.Path += "version.json";
string formatString = "{{\n" +
"\t\"version\":\"{0}\",\n" +