whoops small oversight

This commit is contained in:
Luuk van Oijen 2023-11-14 21:57:49 +01:00
parent 4f57680a67
commit 51c5ee0638

View File

@ -350,7 +350,7 @@ impl Server {
let mut allowed = true;
for v in res {
match v {
Argument::Number(n) => if n == 1f32 || n == -1f32 { allowed = false; },
Argument::Number(n) => if n == 1f32 { allowed = false; },
Argument::Boolean(b) => if b { allowed = false; },
_ => {}, // TODO: Handle this somehow?
}