mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-25 03:29:51 +01: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 }) {
|
gun_type({ attributeSafe, characteristic }) {
|
||||||
const isPump = attribute(
|
const isPump =
|
||||||
TankAttributeChange_AttributeName.ATTRIBUTE_NAME_IS_PUMP
|
attributeSafe(TankAttributeChange_AttributeName.ATTRIBUTE_NAME_IS_PUMP) ??
|
||||||
);
|
0;
|
||||||
|
|
||||||
if (isPump === 1) return GunType.AutoReloader;
|
if (isPump === 1) return GunType.AutoReloader;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user