From a5da23e61ffd219901eaa97850dfb822260df1ba Mon Sep 17 00:00:00 2001 From: fallenoak Date: Mon, 29 Dec 2025 23:05:19 -0600 Subject: [PATCH] feat(ui): implement CSimpleButton_GetPushedTexture --- src/ui/simple/CSimpleButtonScript.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/simple/CSimpleButtonScript.cpp b/src/ui/simple/CSimpleButtonScript.cpp index 68bf79c..70e421e 100644 --- a/src/ui/simple/CSimpleButtonScript.cpp +++ b/src/ui/simple/CSimpleButtonScript.cpp @@ -263,7 +263,7 @@ int32_t CSimpleButton_SetPushedTexture(lua_State* L) { } int32_t CSimpleButton_GetPushedTexture(lua_State* L) { - WHOA_UNIMPLEMENTED(0); + return CSimpleButton_GetStateTexture(L, BUTTONSTATE_PUSHED); } int32_t CSimpleButton_SetDisabledTexture(lua_State* L) {