1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-24 14:10:30 -05:00

Reset quest completion from replaceFunc

This commit is contained in:
Jbleezy
2023-04-05 01:28:54 -07:00
parent 6638daeea9
commit cfa4076130
2 changed files with 21 additions and 8 deletions

View File

@ -0,0 +1,19 @@
#include common_scripts\utility;
#include maps\mp\_utility;
#include maps\mp\zombies\_zm_utility;
#include maps\mp\gametypes_zm\_globallogic_score;
#include maps\mp\zombies\_zm_pers_upgrades;
#include maps\mp\zombies\_zm_weapons;
#include maps\mp\gametypes_zm\_globallogic;
#include maps\mp\zombies\_zm_stats;
set_global_stat( stat_name, value )
{
if ( is_true( level.zm_disable_recording_stats ) )
return;
if ( issubstr( tolower( stat_name ), "sq_" ) || issubstr( tolower( stat_name ), "navcard_" ) )
value = 0;
self setdstat( "PlayerStatsList", stat_name, "StatValue", value );
}