mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 11:17:05 +02:00
fix: default isPump
This commit is contained in:
1 parent
8929e503ea
commit
102abf49c4
1 file changed
+4
-4
@@ -28,10 +28,10 @@ export const characteristics = {
|
||||
);
|
||||
},
|
||||
|
||||
gun_type({ attribute, characteristic }) {
|
||||
const isPump = attribute(
|
||||
TankAttributeChange_AttributeName.ATTRIBUTE_NAME_IS_PUMP
|
||||
);
|
||||
gun_type({ attributeSafe, characteristic }) {
|
||||
const isPump =
|
||||
attributeSafe(TankAttributeChange_AttributeName.ATTRIBUTE_NAME_IS_PUMP) ??
|
||||
0;
|
||||
|
||||
if (isPump === 1) return GunType.AutoReloader;
|
||||
|
||||
|
||||
Reference in new issue
Block a user