Explorar o código

SoundData fix;

bjorn %!s(int64=5) %!d(string=hai) anos
pai
achega
e1eb2d8672
Modificáronse 2 ficheiros con 10 adicións e 10 borrados
  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 = {