Skip to content

Commit

Permalink
Make Duel.EnableGlobalFlag
Browse files Browse the repository at this point in the history
Global flags are automatically enabled when needed now
  • Loading branch information
edo9300 committed Nov 4, 2024
1 parent 4e56e5b commit d8fb75d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libduel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ using namespace scriptlib;

LUA_STATIC_FUNCTION(EnableGlobalFlag) {
check_param_count(L, 1);
pduel->game_field->core.global_flag |= lua_get<uint32_t>(L, 1);
// noop
return 0;
}

Expand Down

0 comments on commit d8fb75d

Please sign in to comment.