mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-26 14:00:22 +00:00
whoops small oversight
This commit is contained in:
1 parent
4f57680a67
commit
51c5ee0638
1 file changed
+1
-1
+1
-1
@@ -350,7 +350,7 @@ impl Server {
|
|||||||
let mut allowed = true;
|
let mut allowed = true;
|
||||||
for v in res {
|
for v in res {
|
||||||
match v {
|
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; },
|
Argument::Boolean(b) => if b { allowed = false; },
|
||||||
_ => {}, // TODO: Handle this somehow?
|
_ => {}, // TODO: Handle this somehow?
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user