Fix argument usage typo.

This commit is contained in:
atom0s 2020-12-18 22:16:57 -08:00 committed by The Phantom Derpstorm
parent bf75afa250
commit 6a77d5cf42

View File

@ -171,7 +171,7 @@ namespace sol {
if (type_of(L_, -1) == type::thread) {
return lua_tothread(L_, -1);
}
return backup_if_unsupported;
return backup_if_unsupported_;
#else
if (L_ == nullptr)
return backup_if_unsupported_;