浏览代码

SoundData fix;

bjorn 5 年之前
父节点
当前提交
e1eb2d8672
共有 2 个文件被更改,包括 10 次插入10 次删除
  1. 8 8
      api/init.lua
  2. 2 2
      api/lovr/data/newSoundData.lua

+ 8 - 8
api/init.lua

@@ -2819,8 +2819,8 @@ return {
               returns = {
                 {
                   name = "soundData",
-                  type = "TextureData",
-                  description = "The new TextureData."
+                  type = "SoundData",
+                  description = "The new SoundData."
                 }
               }
             },
@@ -2853,8 +2853,8 @@ return {
               returns = {
                 {
                   name = "soundData",
-                  type = "TextureData",
-                  description = "The new TextureData."
+                  type = "SoundData",
+                  description = "The new SoundData."
                 }
               }
             },
@@ -2863,8 +2863,8 @@ return {
               returns = {
                 {
                   name = "soundData",
-                  type = "TextureData",
-                  description = "The new TextureData."
+                  type = "SoundData",
+                  description = "The new SoundData."
                 }
               }
             },
@@ -2879,8 +2879,8 @@ return {
               returns = {
                 {
                   name = "soundData",
-                  type = "TextureData",
-                  description = "The new TextureData."
+                  type = "SoundData",
+                  description = "The new SoundData."
                 }
               }
             }

+ 2 - 2
api/lovr/data/newSoundData.lua

@@ -36,8 +36,8 @@ return {
   },
   returns = {
     soundData = {
-      type = 'TextureData',
-      description = 'The new TextureData.'
+      type = 'SoundData',
+      description = 'The new SoundData.'
     }
   },
   variants = {