diff options
author | emmaker <emmaker@myyahoo.com> | 2025-06-02 17:47:11 -0400 |
---|---|---|
committer | emmaker <emmaker@myyahoo.com> | 2025-06-02 17:47:11 -0400 |
commit | 9287cf833594d7bccfe3dce2b1f7230496908bcc (patch) | |
tree | ea3ce35951a84d4712053af8077f8cf6088b173b /source/game | |
parent | fde429d1a7a6e6c583418690b286e062de72ad2d (diff) |
Syntax fix (oops)
Diffstat (limited to 'source/game')
-rwxr-xr-x | source/game/scripting/StarPlayerLuaBindings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/game/scripting/StarPlayerLuaBindings.cpp b/source/game/scripting/StarPlayerLuaBindings.cpp index 833d718..ca7c3c2 100755 --- a/source/game/scripting/StarPlayerLuaBindings.cpp +++ b/source/game/scripting/StarPlayerLuaBindings.cpp @@ -745,7 +745,7 @@ LuaCallbacks LuaBindings::makePlayerCallbacks(Player* player) { // codex bindings callbacks.registerCallback("isCodexKnown", [player](String const& codexId) -> bool { - return player.codexes()->codexKnown(codexId); + return player->codexes()->codexKnown(codexId); }); callbacks.registerCallback("isCodexRead", [player](String const& codexId) -> bool { |