mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-02-16 05:05:00 +00:00
fix: typo in TouchpanelBase constructor
The constructor was checking the wrong variable, leading to it always being null and failing to build the `EssentialsTouchpanelController` class.
This commit is contained in:
@@ -31,7 +31,7 @@ namespace PepperDash.Essentials.Core.UI
|
|||||||
:base(key, name)
|
:base(key, name)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (Panel == null)
|
if (panel == null)
|
||||||
{
|
{
|
||||||
Debug.Console(0, this, "Panel is not valid. Touchpanel class WILL NOT work correctly");
|
Debug.Console(0, this, "Panel is not valid. Touchpanel class WILL NOT work correctly");
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user