Added the ability to create prefabs.

This commit is contained in:
Patrick Marsee 2021-11-14 22:25:30 -05:00
parent 871646fccc
commit 18595087ff
5 changed files with 304 additions and 59 deletions

View file

@ -422,7 +422,8 @@ If -l is given, a map legend will be printed under the map."""
def runScript(self, args):
"""simple wrapper for gameBase.runscript."""
self.gameBase.parseScript(' '.join(args))
args = ['"' + a + '"' for a in args]
self.gameBase.parseScript(' '.join(args) + '\n')
# IO calls