Commit 64f7c587 authored by Batman's avatar Batman
Browse files

Eslint Fix

parent 8e996c52
......@@ -42,10 +42,10 @@ export class FurnitureSoundBlockLogic extends FurnitureMultiStateLogic
{
super.initialize(asset);
if(!asset.soundSample.id) return;
if(!asset.soundSample || !asset.soundSample.id) return;
this._sampleId = asset.soundSample.id;
if(asset.soundSample.noPitch) this._noPitch = asset.soundSample.noPitch;
this.updateModel();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment