gmodWare / gware-utilities

gmodWare roleplay utilities
2 stars 1 forks source link

NPC Delete failing #34

Closed MenschlichTv closed 1 year ago

MenschlichTv commented 1 year ago

When trying to delete an NPC, it gets removed, lags for a second, and then it re-appears. Followed by this error

gamemodes/mangarp/gamemode/modules/positions/sv_database.lua:117: attempt to index a nil value
   1. removeTeamSpawnPos - gamemodes/mangarp/gamemode/modules/positions/sv_database.lua:117
    2. callback - addons/tg_gware/lua/gware-utils/networking/sv_net.lua:199
     3. callback - addons/tg_gware/lua/gware-utils/sv_database.lua:55
      4. Execute - lua/voidlib/sv_sql.lua:686
       5. GetNPCJobs - addons/tg_gware/lua/gware-utils/sv_database.lua:57
        6. func - addons/tg_gware/lua/gware-utils/networking/sv_net.lua:194
         7. unknown - lua/includes/extensions/net.lua:33