Skip to content

Commit 51c1db2

Browse files
committed
1 parent ad58742 commit 51c1db2

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

game/quiver/info_changelog.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ Added the following Source SDK Pull Requests:
8686
- #1530: Allow null caller on team_control_point's SetOwner input
8787
- #1534: Fix cleanup collect on MvM currency rest logic
8888
- #1536: Add EntIndex params to player_teleported
89+
- #1537: Fix Entrance teleporters not using "mult_teleporter_recharge_rate"
8990

9091
Details:
9192
- Fixed a bug where the mini-crit damage effect doesn't show up when your shield breaks.

src/game/server/tf/tf_obj_teleporter.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,6 +1187,14 @@ void CObjectTeleporter::TeleporterThink( void )
11871187
SetState( TELEPORTER_STATE_RECHARGING );
11881188

11891189
m_flCurrentRechargeDuration = (float)g_iTeleporterRechargeTimes[GetUpgradeLevel()];
1190+
#ifdef BDSBASE
1191+
if (!m_bWasMapPlaced)
1192+
{
1193+
CALL_ATTRIB_HOOK_FLOAT_ON_OTHER(GetBuilder(), m_flCurrentRechargeDuration, mult_teleporter_recharge_rate);
1194+
}
1195+
1196+
m_flRechargeTime = gpGlobals->curtime + m_flCurrentRechargeDuration;
1197+
#endif
11901198
m_flMyNextThink = gpGlobals->curtime + m_flCurrentRechargeDuration;
11911199
}
11921200
break;

0 commit comments

Comments
 (0)