]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Mark target_items spawnfunc as already checked when changing target_give to it (poten...
authorMario <mario@smbclan.net>
Thu, 27 Apr 2017 08:10:01 +0000 (18:10 +1000)
committerMario <mario@smbclan.net>
Thu, 27 Apr 2017 08:10:01 +0000 (18:10 +1000)
qcsrc/server/compat/quake3.qc

index 6ed0e4052350e7c96798b91d3fc9590b89872508..8815aceac1c95f88cb87bb697257beef0afd9a1c 100644 (file)
@@ -151,6 +151,7 @@ void target_give_init(entity this)
         it.nextthink = time;
        });
        this.spawnflags = 2;
+       this.spawnfunc_checked = true;
        spawnfunc_target_items(this);
        InitializeEntity(this, target_init_verify, INITPRIO_FINDTARGET);
 }