mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Add warning when awarding XP via promo code or shop purchase to address #76
This commit is contained in:
1 parent
edb5b2eba8
commit
753e9b0f51
2 files changed
+56
-2
No files matched your search
@@ -59,6 +59,7 @@ impl CubeConfig {
|
||||
let battle_res = self.battle.validate_in(&mut validation_info, self, "battle");
|
||||
let chat_res = self.chat.validate_in(&mut validation_info, self, "chat");
|
||||
let factory_res = self.factory.validate_in(&mut validation_info, self, "factory");
|
||||
let shop_res = self.shop.validate_in(&mut validation_info, self, "shop");
|
||||
let settings_res = self.settings.validate_in(&mut validation_info, self, "settings");
|
||||
|
||||
validation_info.info(super::ValidationMessage {
|
||||
@@ -70,6 +71,7 @@ impl CubeConfig {
|
||||
battle_res
|
||||
&& chat_res
|
||||
&& factory_res
|
||||
&& shop_res
|
||||
&& settings_res
|
||||
&& validation_info.is_ok()
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user