Actually, let's only allow suppressing flushing.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5690 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2009-03-24 00:30:27 +00:00
parent 195d764347
commit 904be81707
+2 -5
View File
@@ -79,8 +79,7 @@ public class Config extends EventDispatcher
/**
* Returns the value specified.
*/
public function setValue (
name :String, value :Object, notify :Boolean = true, flush :Boolean = true) :void
public function setValue (name :String, value :Object, flush :Boolean = true) :void
{
_data[name] = value;
if (flush && _so != null) {
@@ -88,9 +87,7 @@ public class Config extends EventDispatcher
}
// dispatch an event corresponding
if (notify) {
dispatchEvent(new ConfigValueSetEvent(name, value));
}
dispatchEvent(new ConfigValueSetEvent(name, value));
}
/**