Modified code to compile on Linux
This commit is contained in:
@@ -274,7 +274,7 @@ namespace Subsurface
|
||||
|
||||
bool clicked = false;
|
||||
|
||||
if (rect.Contains(PlayerInput.GetMouseState.Position))
|
||||
if (rect.Contains(PlayerInput.MousePosition))
|
||||
{
|
||||
clicked = (PlayerInput.GetMouseState.LeftButton == ButtonState.Pressed);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user