my attempt

This commit is contained in:
Evil Factory
2021-01-12 20:52:35 -03:00
parent d0b1ac96a7
commit 8ab7b96d87
11 changed files with 451 additions and 63 deletions
@@ -37,6 +37,7 @@ namespace Barotrauma
static partial class DebugConsole
{
public partial class Command
{
public readonly string[] names;
@@ -1821,7 +1822,7 @@ namespace Barotrauma
return null;
}
private static void SpawnCharacter(string[] args, Vector2 cursorWorldPos, out string errorMsg)
public static void SpawnCharacter(string[] args, Vector2 cursorWorldPos, out string errorMsg)
{
errorMsg = "";
if (args.Length == 0) { return; }
@@ -1914,7 +1915,7 @@ namespace Barotrauma
}
}
private static void SpawnItem(string[] args, Vector2 cursorPos, Character controlledCharacter, out string errorMsg)
public static void SpawnItem(string[] args, Vector2 cursorPos, Character controlledCharacter, out string errorMsg)
{
errorMsg = "";
if (args.Length < 1) return;