added missing CAP_RACING guards

This commit is contained in:
Zeno Rogue 2020-01-06 23:01:11 +01:00
parent 2ebef9e754
commit 12d28b43f5
1 changed files with 2 additions and 0 deletions

View File

@ -871,6 +871,7 @@ EX string get_rich_presence_text() {
if(princess::challenge) return res + "Princess Challenge";
#if CAP_RACING
if(racing::on) {
using namespace racing;
res = res + "racing in " + linf[specialland].name;
@ -882,6 +883,7 @@ EX string get_rich_presence_text() {
return res;
}
#endif
res += linf[cwt.at->land].name;
res += ", " + its(gold()) + " $$$";