Hi, I am trying to host a server with a gamemode called objhunt, and I want it to come up as prop hunt (with other prop hunt servers). It works completely fine when it is named objhunt, but when I change it to prop_hunt and edit the files I get an error that breaks the teams. I’m still new to coding lua, and I have no clue how to fix this. All I know is that it breaks the teams.
This is the error I get:
[ERROR] lua/includes/modules/team.lua:29: table index is nil
- SetUp - lua/includes/modules/team.lua:29
- unknown - gamemodes/prop_hunt/gamemode/shared.lua:77
Here is a link to my edited copy of the game mode:
If anyone could figure out what is causing this and knows how to fix it, I would really appreciate it!!!