调整武器HUD未选中时的透明度

This commit is contained in:
Light_Quanta 2025-03-12 21:46:46 +08:00
parent 2cd30a58a5
commit 2bf124d3ce
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ mod_id=superbwarfare
mod_name=Superb Warfare
mod_license=GNU General Public License v3.0
mod_description=A Warfare Mod
mod_version=0.6.0
mod_version=0.6.1
mod_authors=Atsuishio, Roki27, Light_Quanta
# dependencies

View file

@ -518,7 +518,7 @@ public class VehicleHudOverlay {
if (weaponIndex != i) {
// 未选中
RenderSystem.setShaderColor(1, 1, 1,
Mth.lerp(progress, 1, 0.2f)
Mth.lerp(progress, 1, 0.5f)
);
startXDiff = Mth.lerp(progress, 0, xDiff);
} else {