|
Ins0mniak Apprentice
Joined: 27 Apr 2001 Posts: 110
|
Posted: Tue Jun 28, 2005 5:41 pm
[All Versions?]#VAR assignment bug... |
If you assign a variable with a specified class that is disabled, and that variable already exists within the class, it does not change its value, but creates a new variable with the same name.
#T- TestClass
#VAR TestVar {Value} {_nodef} {TestClass}
#VAR TestVar {Value} {_nodef} {TestClass}
#VAR TestVar {Value} {_nodef} {TestClass}
#VAR TestVar {Value} {_nodef} {TestClass}
This results in 5 variables named "TestVar" being located inside the "TestClass" class. |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed Jun 29, 2005 12:26 am |
Add this to the Bug Tracking system so that it can get fixed in a later version. When a class is disabled, most of zMUD doesn't "see" the class as existing at all, and I can see where this might cause a new variable to get created (it's probably also trying to recreate the TestClass class, but nothing happens when it tries to add a new class with the same name).
|
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|