add parameter to getDescription

This commit is contained in:
chrys
2016-09-17 02:14:11 +02:00
parent 482394c92a
commit 9744e428cb
12 changed files with 23 additions and 13 deletions

View File

@ -54,7 +54,8 @@ class commandManager():
if self.commandExists(environment, command, section):
try:
if environment['generalInformation']['tutorialMode']:
environment['commands'][section][command].getDescription(environment)
description = environment['commands'][section][command].getDescription(environment)
environment['runtime']['outputManager'].presentText(environment, description, interrupt=True)
else:
environment['commands'][section][command].run(environment)
except Exception as e: