mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-13 20:14:44 +08:00
Changed namespace of Peds and Vehicle forms, to fix crash in standalone exes
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"profiles": {
|
||||
"CodeWalker.Peds": {
|
||||
"commandName": "Project",
|
||||
"workingDirectory": ".."
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"profiles": {
|
||||
"CodeWalker.Vehicles": {
|
||||
"commandName": "Project",
|
||||
"workingDirectory": ".."
|
||||
}
|
||||
}
|
||||
}
|
||||
Generated
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace CodeWalker.Peds
|
||||
namespace CodeWalker
|
||||
{
|
||||
partial class PedsForm
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Color = SharpDX.Color;
|
||||
|
||||
namespace CodeWalker.Peds
|
||||
namespace CodeWalker
|
||||
{
|
||||
public partial class PedsForm : Form, DXForm
|
||||
{
|
||||
|
||||
@@ -83,11 +83,11 @@ namespace CodeWalker
|
||||
}
|
||||
else if (vehiclesmode)
|
||||
{
|
||||
Application.Run(new Vehicles.VehicleForm());
|
||||
Application.Run(new VehicleForm());
|
||||
}
|
||||
else if (pedsmode)
|
||||
{
|
||||
Application.Run(new Peds.PedsForm());
|
||||
Application.Run(new PedsForm());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Generated
+1
-1
@@ -1,4 +1,4 @@
|
||||
namespace CodeWalker.Vehicles
|
||||
namespace CodeWalker
|
||||
{
|
||||
partial class VehicleForm
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Color = SharpDX.Color;
|
||||
|
||||
namespace CodeWalker.Vehicles
|
||||
namespace CodeWalker
|
||||
{
|
||||
public partial class VehicleForm : Form, DXForm
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user