From dc63171e0e806708f8eb01f86335e6bc271b9ebe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sun, 6 Jul 2014 23:11:56 +0200 Subject: [PATCH] pause active animations --- OpenRA.Mods.RA/Render/WithActiveAnimation.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Mods.RA/Render/WithActiveAnimation.cs b/OpenRA.Mods.RA/Render/WithActiveAnimation.cs index 05a870a7fc..84eb04877c 100644 --- a/OpenRA.Mods.RA/Render/WithActiveAnimation.cs +++ b/OpenRA.Mods.RA/Render/WithActiveAnimation.cs @@ -44,6 +44,9 @@ namespace OpenRA.Mods.RA.Render int ticks; public void TickRender(WorldRenderer wr, Actor self) { + if (wr.world.Paused == World.PauseState.Paused) + return; + if (!buildComplete) return;