Full Version : m_Running on XMLSpawner
xmlspawner >>XMLSpawner - Discussion >>m_Running on XMLSpawner
<< Prev | Next >>
Haazen- 11-08-2007
When we dupe an XMLSpawner, a copy is placed in backpack. The issue is that the items on the spawner start to spawn like walls for a building and so on.
My question: if I change the m_Running = false in the Constructable of XMLSpawner2.cs, will this solve the issue. I have no problem with having to turn on each spawner after it is placed.
Thanks for your help.
ArteGordon- 11-09-2007
you could do that. I think that a better solution is to add this in XmlSpawner2.cs

CODE
public override void OnAfterDuped( Item newItem ) { ((XmlSpawner)newItem).Running = false; }

I will add this to the v3.23 beta for the next release.