Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
amylizzle committed May 28, 2024
1 parent 3d67038 commit 836d101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ public static DreamValue NativeProc_animate(NativeProc.Bundle bundle, DreamObjec
if(!alpha.IsNull)
alpha = new(alpha.UnsafeGetValueAsFloat() + obj.GetVariable("alpha").UnsafeGetValueAsFloat());
if(!transform.IsNull) {
if(transform.TryGetValueAsDreamObject<DreamObjectMatrix>(out var transformObj) && obj.GetVariable("transform").TryGetValueAsDreamObject<DreamObjectMatrix>(out var objTransform)){
if(transform.TryGetValueAsDreamObject<DreamObjectMatrix>(out var _) && obj.GetVariable("transform").TryGetValueAsDreamObject<DreamObjectMatrix>(out var objTransform)){
transform = objTransform.OperatorMultiply(transform);
}
}
Expand Down

0 comments on commit 836d101

Please sign in to comment.