rm Source:play loop shortcut;

This commit is contained in:
bjorn 2021-02-26 13:41:58 -07:00
parent 92492dcef1
commit 5f4e5c5721
1 changed files with 0 additions and 3 deletions

View File

@ -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;