pcampbot do not add 0 to last name if only making one bot; do not try to look for tree textures

This commit is contained in:
UbitUmarov
2024-02-01 18:39:43 +00:00
parent 52bd793120
commit 47810b04d5
3 changed files with 19 additions and 6 deletions

View File

@@ -650,7 +650,7 @@ namespace pCampBot
Primitive prim = args.Prim;
if (prim != null)
if (prim is not null && prim.Textures.DefaultTexture is not null)
{
lock (m_objects)
m_objects[prim.ID] = prim;