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

MOTD: fix buildable table locked hint string showing cost twice

MOTD: fix locked hint string not showing on Blundergat Upgrade buildable table
This commit is contained in:
Jbleezy
2023-03-25 04:32:47 -07:00
parent e7a28cdc90
commit 4250f4c2bb
3 changed files with 48 additions and 2 deletions

View File

@ -611,7 +611,7 @@ craftabletrigger_update_prompt( player )
{
can_use = self.stub craftablestub_update_prompt( player );
if (can_use && is_true(self.stub.crafted))
if (can_use && is_true(self.stub.crafted) && !is_true(self.stub.is_locked))
{
self sethintstring( self.stub.hint_string, " [Cost: " + self.stub.cost + "]" );
}