added a way to create console commands

This commit is contained in:
Evil Factory
2021-09-25 20:33:17 -03:00
parent a058d0a1bc
commit 17ecef8c67
5 changed files with 19 additions and 3 deletions
@@ -408,7 +408,7 @@ namespace Barotrauma
lua.Globals["DeliveryMethod"] = UserData.CreateStatic<DeliveryMethod>();
lua.Globals["ClientPacketHeader"] = UserData.CreateStatic<ClientPacketHeader>();
lua.Globals["ServerPacketHeader"] = UserData.CreateStatic<ServerPacketHeader>();
#if SERVER
#elif CLIENT