mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-11-15 11:22:55 +00:00
Fix some warnings with props in StoryMenu
This commit is contained in:
parent
89402f8bb8
commit
152820f2e1
|
@ -16,7 +16,7 @@ class LevelProp extends Bopper
|
|||
this.propData = value;
|
||||
|
||||
this.visible = this.propData != null;
|
||||
danceEvery = this.propData?.danceEvery ?? 0.0;
|
||||
danceEvery = this.propData?.danceEvery ?? 1.0;
|
||||
|
||||
applyData();
|
||||
}
|
||||
|
@ -32,7 +32,7 @@ class LevelProp extends Bopper
|
|||
|
||||
public function playConfirm():Void
|
||||
{
|
||||
playAnimation('confirm', true, true);
|
||||
if (hasAnimation('confirm')) playAnimation('confirm', true, true);
|
||||
}
|
||||
|
||||
function applyData():Void
|
||||
|
|
Loading…
Reference in a new issue