refactor party
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
using Game.Extensions;
|
||||
using Godot;
|
||||
using yourareanaiceo;
|
||||
|
||||
namespace Game;
|
||||
|
||||
public sealed partial class MeetingControlDragData(MeetingControl meetingControl) : GodotObject
|
||||
{
|
||||
@@ -91,7 +93,7 @@ public partial class MeetingControl : Control
|
||||
|
||||
private void RespawnPhysicsBoxFromSpawn()
|
||||
{
|
||||
var game = this.GetGame();
|
||||
var game = NodeExtensions.GetMain(this);
|
||||
game.AddChild(MeetingPhysicsBox);
|
||||
MeetingPhysicsBox.Position = game.MeetingSpawn.GlobalPosition;
|
||||
QueueFree();
|
||||
|
||||
Reference in New Issue
Block a user