Merge branch 'SP3-6-c-scripting' into SP3-6-CSharpStaticReset
This commit is contained in:
commit
3a4288d4bc
|
@ -365,7 +365,7 @@ namespace SHADE
|
||||||
SHEventHandle SHScriptEngine::onUIElementClicked(SHEventPtr eventPtr)
|
SHEventHandle SHScriptEngine::onUIElementClicked(SHEventPtr eventPtr)
|
||||||
{
|
{
|
||||||
auto eventData = reinterpret_cast<const SHEventSpec<SHButtonClickEvent>*>(eventPtr.get());
|
auto eventData = reinterpret_cast<const SHEventSpec<SHButtonClickEvent>*>(eventPtr.get());
|
||||||
csUIElementOnRemoved(eventData->data->EID);
|
csUIElementOnClicked(eventData->data->EID);
|
||||||
return eventData->handle;
|
return eventData->handle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue