Merge pull request #1998 from smoogipoo/ismaskedaway-input-fix

Fix IsMaskedAway not being up-to-date when fastfowarding replays
This commit is contained in:
Dean Herbert 2018-02-01 20:08:46 +09:00 committed by GitHub
commit 1cb95e9a78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit 90bf49a2df3dbad5994d922df63e4891c622dbc3
Subproject commit d89e6cd63140c2b73631b79ff83b130a2b9958ed

View File

@ -140,6 +140,8 @@ public override bool UpdateSubTree()
if (!base.UpdateSubTree())
return false;
UpdateSubTreeMasking(ScreenSpaceDrawQuad.AABBFloat);
if (isAttached)
{
// When handling replay input, we need to consider the possibility of fast-forwarding, which may cause the clock to be updated