mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-12 14:31:50 +00:00
do it completely
This commit is contained in:
parent
4403df78d9
commit
0cec5057f7
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ static int l_set_params(lua::State* L) {
|
||||||
static int l_set_array(lua::State* L) {
|
static int l_set_array(lua::State* L) {
|
||||||
size_t index = static_cast<size_t>(lua::tointeger(L, 1));
|
size_t index = static_cast<size_t>(lua::tointeger(L, 1));
|
||||||
auto key = lua::require_string(L, 2);
|
auto key = lua::require_string(L, 2);
|
||||||
auto data = lua::require_lstring(L, 3);
|
auto data = lua::bytearray_as_string(L, 3);
|
||||||
auto effect = post_processing->getEffect(index);
|
auto effect = post_processing->getEffect(index);
|
||||||
if (effect == nullptr) {
|
if (effect == nullptr) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue