diff --git a/src/as/com/threerings/util/Assert.as b/src/as/com/threerings/util/Assert.as index 6506d286a..b4cceb0f9 100644 --- a/src/as/com/threerings/util/Assert.as +++ b/src/as/com/threerings/util/Assert.as @@ -45,7 +45,7 @@ public class Assert /** Asserts that the value is equal to null. */ public static function isNull (value :Object, message :String = null) :void { - if (_debug && ! (value == null)) { + if (_debug && (value != null)) { fail(message); } } @@ -53,7 +53,7 @@ public class Assert /** Asserts that the value is not equal to null. */ public static function isNotNull (value :Object, message :String = null) :void { - if (_debug && ! (value != null)) { + if (_debug && (value == null)) { fail(message); } }