forked from rDrama/rDrama
1
0
Fork 0
Aevann1 2022-02-17 08:34:00 +02:00
parent 0b9ced6e50
commit 6dbf807294
1 changed files with 3 additions and 1 deletions

View File

@ -248,7 +248,9 @@ def create_sub2(v):
sub = g.db.query(Sub).filter_by(name=name).one_or_none()
if not sub:
cost = v.subs_created * 50
if SITE_NAME == 'PCM': cost = v.subs_created * 150
else: cost = v.subs_created * 50
if v.coins < cost:
return render_template("sub/create_sub.html", v=v, error="You don't have enough coins!"), 403