fixing a missed variable in DedicatedServer