mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-01 10:45:33 +00:00
optimizations
This commit is contained in:
parent
91e063c01b
commit
eb1d74ee63
7 changed files with 33 additions and 6 deletions
|
|
@ -2,6 +2,7 @@ using Godot;
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Linq;
|
||||
using Cirno.Scripts;
|
||||
using Cirno.Scripts.Resources;
|
||||
using Godot.Collections;
|
||||
|
||||
|
|
@ -13,7 +14,7 @@ public partial class Interactable : Area2D
|
|||
|
||||
public override void _Ready()
|
||||
{
|
||||
_inventoryManager = GetNode<InventoryManager>("/root/GameScene/InventoryManager");
|
||||
_inventoryManager = this.GetInventoryManager();
|
||||
}
|
||||
|
||||
protected bool MeetsRequirements()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue