1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-04 19:08:53 -05:00

Fix Quick Revive changing to solo when players leave

This commit is contained in:
Jbleezy
2021-12-13 23:14:20 -08:00
parent bc9682baa3
commit 93a93237a5

View File

@ -5,6 +5,7 @@
main()
{
replaceFunc(maps/mp/zombies/_zm::check_quickrevive_for_hotjoin, ::check_quickrevive_for_hotjoin);
replaceFunc(maps/mp/zombies/_zm_playerhealth::playerhealthregen, ::playerhealthregen);
replaceFunc(maps/mp/zombies/_zm_utility::track_players_intersection_tracker, ::track_players_intersection_tracker);
replaceFunc(maps/mp/zombies/_zm_powerups::nuke_powerup, ::nuke_powerup);
@ -1478,6 +1479,11 @@ get_zone_name()
return name;
}
check_quickrevive_for_hotjoin(disconnecting_player)
{
// always use coop quick revive
}
playerhealthregen()
{
self notify( "playerHealthRegen" );