Skip to content

Commit

Permalink
Update OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs
Browse files Browse the repository at this point in the history
Co-authored-by: wixoa <[email protected]>
  • Loading branch information
ike709 and wixoaGit authored Feb 19, 2025
1 parent 3647236 commit 5cf015c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions OpenDreamRuntime/Procs/Native/DreamProcNativeRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3167,8 +3167,7 @@ private static DreamValue values_cut_helper(DreamValue argList, DreamValue argMi

foreach (var (key,value) in assocValues) {
if (value.TryGetValueAsFloat(out var valFloat)) {
switch (inclusive)
{
switch (inclusive) {
case true when under && valFloat <= min:
case true when !under && valFloat >= min:
case false when under && valFloat < min:
Expand Down

0 comments on commit 5cf015c

Please sign in to comment.