Skip to content

Commit

Permalink
missed default_special_offset mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Auto committed Dec 27, 2024
1 parent d6497ef commit 28bcb86
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/game_data/spel2.lua

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/src/includes/_types.md
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ bool | [leaves_corpse_behind](https://github.com/spelunky-fyi/overlunky/search?l
[SOUNDID](#Aliases) | [sound_killed_by_other](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=sound_killed_by_other) |
map<int, [Animation](#Animation)> | [animations](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=animations) |
float | [default_special_offsetx](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=default_special_offsetx) |
float | [default_special_offsetx](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=default_special_offsetx) |
float | [default_special_offsety](https://github.com/spelunky-fyi/overlunky/search?l=Lua&q=default_special_offsety) |

### HudInventory

Expand Down
2 changes: 1 addition & 1 deletion src/game_api/script/usertypes/entity_lua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void register_usertypes(sol::state& lua)
entitydb_type["sound_killed_by_other"] = &EntityDB::sound_killed_by_other;
entitydb_type["animations"] = &EntityDB::animations;
entitydb_type["default_special_offsetx"] = &EntityDB::default_special_offsetx;
entitydb_type["default_special_offsetx"] = &EntityDB::default_special_offsety;
entitydb_type["default_special_offsety"] = &EntityDB::default_special_offsety;

/// Some information used to render the entity, can not be changed, used in Entity
lua.new_usertype<RenderInfo>(
Expand Down

0 comments on commit 28bcb86

Please sign in to comment.