Merge branch 'master' into develop

This commit is contained in:
Griatch 2018-10-06 21:20:10 +02:00
commit c0c36a8641
4 changed files with 50 additions and 14 deletions

View file

@ -2889,7 +2889,8 @@ class CmdSpawn(COMMAND_DEFAULT_CLASS):
"use the 'exec' prototype key.")
return None
try:
protlib.validate_prototype(prototype)
# we homogenize first, to be more lenient
protlib.validate_prototype(protlib.homogenize_prototype(prototype))
except RuntimeError as err:
self.caller.msg(str(err))
return