Hi, tried to post with the full code but got flagged as Spam so I'm trying it with the barest of info here. I am trying to write an if loop with this comparison but it isn't working at all, I think because the variables aren't assigning properly. I can't figure out how to debug it as it's a service initialization and us run from the client, which only debugs the client
Here, CapacityService is the service name, Male WC is an initilialization of a room class which was created in a different services proto. The initialization is as follows, the proto will be below that. Again, the room code from the proto comes from a different proto to the service being used
I genuinely have no idea what is wrong and am completely unsure of how to attack the problem. I have tried changing the if line to lots of things, the only thing that worked was 2>1. Any help appreciated
EDIT: I think it's possible everything is initializing as zero, hence the issues. Having a similar problem with a different, much simpler function. Used Bloom RPC to just
test the input and modified the code to print out the request and got 0 as opposed to the input. Shown below.
Here, running the non commented out test, when I input 180, Bloom returns zero.