mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-04 00:36:14 +00:00
whoops small oversight
This commit is contained in:
parent
4f57680a67
commit
51c5ee0638
@ -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?
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user