mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-16 13:23:26 +00:00
wip improved return system thingy
This commit is contained in:
@@ -425,6 +425,7 @@ impl Server {
|
||||
let mut allowed = true;
|
||||
for v in res {
|
||||
match v {
|
||||
Argument::Integer(i) => if i == 1 { 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