summaryrefslogtreecommitdiff
path: root/Source/Asura.Framework/scripts/audio
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura.Framework/scripts/audio')
-rw-r--r--Source/Asura.Framework/scripts/audio/sound.lua2
-rw-r--r--Source/Asura.Framework/scripts/audio/source.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/Asura.Framework/scripts/audio/sound.lua b/Source/Asura.Framework/scripts/audio/sound.lua
index 71def66..d7dea4f 100644
--- a/Source/Asura.Framework/scripts/audio/sound.lua
+++ b/Source/Asura.Framework/scripts/audio/sound.lua
@@ -1,4 +1,4 @@
-AsuraEngine.Sound = AsuraEngine.Asset.Sub("Sound")
+AsuraEngine.Sound = AsuraEngine.Asset.Extend("Sound")
local Sound = AsuraEngine.Sound
diff --git a/Source/Asura.Framework/scripts/audio/source.lua b/Source/Asura.Framework/scripts/audio/source.lua
index 8269842..7dec511 100644
--- a/Source/Asura.Framework/scripts/audio/source.lua
+++ b/Source/Asura.Framework/scripts/audio/source.lua
@@ -1,5 +1,5 @@
-- Audio Source
-AsuraEngine.Source = AsuraEngine.Component.Sub("SoundPlayer")
+AsuraEngine.Source = AsuraEngine.Component.Extend("SoundPlayer")
local Source = AsuraEngine.Source