diff --git a/src/game/editor/auto_map.cpp b/src/game/editor/auto_map.cpp index f52bfd940..4136972f6 100644 --- a/src/game/editor/auto_map.cpp +++ b/src/game/editor/auto_map.cpp @@ -292,7 +292,7 @@ void CAutoMapper::Load(const char* pTileName) { pCurrentIndex->m_DefaultRule = false; } - else if(!str_comp_num(pLine, "NoLayerCopy", 11) && pCurrentRun) + else if(str_startswith(pLine, "NoLayerCopy") && pCurrentRun) { pCurrentRun->m_AutomapCopy = false; }