mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
minor typo fix
This commit is contained in:
parent
bf68f803e3
commit
34bd0a09b7
|
@ -180,7 +180,7 @@ int CEditor::PopupLayer(CEditor *pEditor, CUIRect View)
|
||||||
|
|
||||||
// don't allow deletion of game layer
|
// don't allow deletion of game layer
|
||||||
if(pEditor->m_Map.m_pGameLayer != pEditor->GetSelectedLayer(0) &&
|
if(pEditor->m_Map.m_pGameLayer != pEditor->GetSelectedLayer(0) &&
|
||||||
pEditor->DoButton_Editor(&s_DeleteButton, Localize("Delete Layer"), 0, &Button, 0, Localize("Deletes the layer")))
|
pEditor->DoButton_Editor(&s_DeleteButton, Localize("Delete layer"), 0, &Button, 0, Localize("Deletes the layer")))
|
||||||
{
|
{
|
||||||
pEditor->m_Map.m_lGroups[pEditor->m_SelectedGroup]->DeleteLayer(pEditor->m_SelectedLayer);
|
pEditor->m_Map.m_lGroups[pEditor->m_SelectedGroup]->DeleteLayer(pEditor->m_SelectedLayer);
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue