mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-10-20 15:27:00 +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;
|
||||
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?
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user