1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 06:13:36 +08:00

minor fix

This commit is contained in:
2025-01-04 17:25:35 +08:00
parent bd794aa479
commit 27f04376ae
2 changed files with 3 additions and 1 deletions

View File

@@ -306,6 +306,8 @@ public static class LogisticsPatch
{
private static int ItemIdHintUnderMouse()
{
var itemId = GameMain.data.mainPlayer.inhandItemId;
if (itemId > 0) return itemId;
List<RaycastResult> targets = [];
var pointer = new PointerEventData(EventSystem.current)
{