Fixed SoundData:getDuration

This commit is contained in:
Alex Szpakowski
2013-03-26 19:45:32 -03:00
parent 275a144907
commit fa799227a2
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ int w_SoundData_getSampleRate(lua_State *L)
int w_SoundData_getDuration(lua_State *L)
{
SoundData *t = luax_checksounddata(L, 1);
lua_pushinteger(L, t->getDuration());
lua_pushnumber(L, t->getDuration());
return 1;
}