mirror of https://github.com/bjornbytes/lovr.git
rm Source:play loop shortcut;
This commit is contained in:
parent
92492dcef1
commit
5f4e5c5721
|
@ -13,9 +13,6 @@ static int l_lovrSourceClone(lua_State* L) {
|
|||
|
||||
static int l_lovrSourcePlay(lua_State* L) {
|
||||
Source* source = luax_checktype(L, 1, Source);
|
||||
if (lua_isboolean(L, -1)) {
|
||||
lovrSourceSetLooping(source, lua_toboolean(L, -1));
|
||||
}
|
||||
bool played = lovrSourcePlay(source);
|
||||
lua_pushboolean(L, played);
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue