]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Set minigame_self to this again after activating a minigame
authorMario <mario@smbclan.net>
Wed, 13 Jul 2016 09:20:00 +0000 (19:20 +1000)
committerMario <mario@smbclan.net>
Wed, 13 Jul 2016 09:20:00 +0000 (19:20 +1000)
qcsrc/common/minigames/cl_minigames.qc

index 3d3ef42dff444d3d57dc273cf451204602ff979c..1aa748faab08c38ebc7955b3a12c88f4475c3ab2 100644 (file)
@@ -226,6 +226,7 @@ NET_HANDLE(ENT_CLIENT_MINIGAME, bool isnew)
                {
                        minigame_self = this;
                        activate_minigame(this.owner);
+                       minigame_self = this; // set it again (needed before, but may also be reset)
                }
        }
        MINIGAME_SIMPLELINKED_ENTITIES