add level control to map editor
This commit is contained in:
parent
a546d27efa
commit
bc29193c7b
3 changed files with 32 additions and 1 deletions
|
@ -17,5 +17,6 @@ def editor(request, level=None):
|
|||
if level not in mapmanager.levels:
|
||||
raise Http404('Level does not exist')
|
||||
return render(request, 'control/editor.html', {
|
||||
'map': mapmanager
|
||||
'map': mapmanager,
|
||||
'current_level': level,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue