Cozy Wather + buld systeme

This commit is contained in:
2026-07-07 16:43:51 +02:00
parent 031ac42e5d
commit 6b26ae3376
2140 changed files with 3482825 additions and 2252 deletions
@@ -69,11 +69,13 @@ namespace Ashwild.Player
/// <summary>
/// Requests the construction menu to open/close on right-click, gated by lock and
/// cooldown. The UI decides whether that opens or closes it.
/// cooldown. While a ghost is being positioned, right-click cancels the placement instead
/// (handled by the placement controller), so the menu is left alone here.
/// </summary>
private void HandleSecondaryUse()
{
if (PlayerEvents.InputLocked) return;
if (PlayerEvents.IsPlacingBuild) return;
if (Time.time < nextToggleTime) return;
nextToggleTime = Time.time + toggleCooldown;