mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Fix conflicts with default
--HG-- branch : sounddata-samplecount
This commit is contained in:
@@ -63,7 +63,7 @@ int w_SoundData_getSampleCount(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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user