mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
Update petBottle.ts
This commit is contained in:
parent
f18b3467d9
commit
61ac82d297
1 changed files with 2 additions and 2 deletions
|
|
@ -33,11 +33,11 @@ export const petBottle = defineObject({
|
|||
const liquidMesh = model.findMesh('__X_LIQUID__');
|
||||
|
||||
const applyWithCap = () => {
|
||||
capMesh.setEnabled(options.withCap);
|
||||
capMesh.isVisible = options.withCap;
|
||||
};
|
||||
|
||||
const applyEmpty = () => {
|
||||
liquidMesh.setEnabled(!options.empty);
|
||||
liquidMesh.isVisible = !options.empty;
|
||||
};
|
||||
|
||||
applyWithCap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue