Browse Source

SoundData fix;

bjorn 5 years ago
parent
commit
1f9373d92b
2 changed files with 10 additions and 10 deletions
  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 = {