Skip to content
This repository has been archived by the owner on Oct 12, 2024. It is now read-only.

Commit

Permalink
这把武器无法被升级
Browse files Browse the repository at this point in the history
  • Loading branch information
TYHH10 authored and TYHH10 committed Aug 1, 2024
1 parent ec29dc7 commit 17e581d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod/attr/custom_attributes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3488,7 +3488,7 @@ namespace Mod::Attr::Custom_Attributes
CALL_ATTRIB_HOOK_INT_ON_OTHER ( entity, iCannotUpgrade, cannot_be_upgraded );
if (iCannotUpgrade > 0) {
if (!sell) {
gamehelpers->TextMsg(ENTINDEX(player), TEXTMSG_DEST_CENTER, "This weapon is not upgradeable");
gamehelpers->TextMsg(ENTINDEX(player), TEXTMSG_DEST_CENTER, "这把武器无法被升级");
}
return;
}
Expand Down

0 comments on commit 17e581d

Please sign in to comment.