diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-08-29 15:52:34 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-08-29 15:52:34 +1000 |
| commit | 91eaed4b37c7cda29103d3478df3e2c6356f8396 (patch) | |
| tree | de317a6a9b595ee744058db55af0f3f40ea89af8 /src/tangara/ui/ui_fsm.cpp | |
| parent | 96a224c0df4f647b3e5dbbcbbedad3a1d38470ba (diff) | |
| download | tangara-fw-91eaed4b37c7cda29103d3478df3e2c6356f8396.tar.gz | |
use snake_case consistently in lua function names
Diffstat (limited to 'src/tangara/ui/ui_fsm.cpp')
| -rw-r--r-- | src/tangara/ui/ui_fsm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tangara/ui/ui_fsm.cpp b/src/tangara/ui/ui_fsm.cpp index 669b3298..2009a888 100644 --- a/src/tangara/ui/ui_fsm.cpp +++ b/src/tangara/ui/ui_fsm.cpp @@ -754,7 +754,7 @@ auto Lua::PushLuaScreen(lua_State* s, bool replace) -> int { // Call the constructor for this screen. // lua_settop(s, 1); // Make sure the screen is actually at top of stack - lua_pushliteral(s, "createUi"); + lua_pushliteral(s, "create_ui"); if (lua_gettable(s, 1) == LUA_TFUNCTION) { lua_pushvalue(s, 1); lua::CallProtected(s, 1, 0); |
