Fix previous commit
If this doesn't work, I'll test locally first, I should have done that in the first place.
This commit is contained in:
parent
05f048c6c9
commit
9145231e58
@ -2531,7 +2531,10 @@ def fstasis(cli, nick, *rest):
|
|||||||
if len(data) == 2:
|
if len(data) == 2:
|
||||||
amt = int(data[1])
|
amt = int(data[1])
|
||||||
if amt < 0 and cloak in var.STASISED:
|
if amt < 0 and cloak in var.STASISED:
|
||||||
var.STASISED[cloak] -= amt
|
var.STASISED[cloak] += amt
|
||||||
|
if var.STASISED[cloak] == 0:
|
||||||
|
cli.msg(nick, "{0} ({1}) is no longer in stasis.".format(data[0], cloak))
|
||||||
|
else:
|
||||||
cli.msg(nick, "{0} ({1}) is now in stasis for {2} games.".format(data[0], cloak, var.STASISED[cloak]))
|
cli.msg(nick, "{0} ({1}) is now in stasis for {2} games.".format(data[0], cloak, var.STASISED[cloak]))
|
||||||
elif amt <= 0:
|
elif amt <= 0:
|
||||||
if cloak in var.STASISED:
|
if cloak in var.STASISED:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user