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

Meat: decrease meat powerup time

This commit is contained in:
Jbleezy
2023-03-01 16:29:40 -08:00
parent 4b63a6e0d5
commit 0532891b17

View File

@ -2831,6 +2831,8 @@ containment_get_zones()
meat_init() meat_init()
{ {
level._powerup_timeout_custom_time = ::meat_powerup_custom_time;
level thread meat_hud_destroy_on_end_game(); level thread meat_hud_destroy_on_end_game();
level thread meat_powerup_drop_think(); level thread meat_powerup_drop_think();
level thread meat_think(); level thread meat_think();
@ -3202,6 +3204,16 @@ meat_powerup_drop_on_downed()
} }
} }
meat_powerup_custom_time(powerup)
{
if (powerup.powerup_name == "meat_stink")
{
return 5;
}
return 15;
}
meat_thrown_hud_msg() meat_thrown_hud_msg()
{ {
level endon("end_game"); level endon("end_game");