mirror of
https://github.com/huderlem/porymap.git
synced 2026-09-17 13:26:01 -05:00
Treat tileset lists separately
This commit is contained in:
@@ -226,13 +226,13 @@ QList<QString> ScriptUtility::getTilesetNames() {
|
||||
QList<QString> ScriptUtility::getPrimaryTilesetNames() {
|
||||
if (!window || !window->editor || !window->editor->project)
|
||||
return QList<QString>();
|
||||
return window->editor->project->tilesetLabels["primary"];
|
||||
return window->editor->project->primaryTilesetLabels;
|
||||
}
|
||||
|
||||
QList<QString> ScriptUtility::getSecondaryTilesetNames() {
|
||||
if (!window || !window->editor || !window->editor->project)
|
||||
return QList<QString>();
|
||||
return window->editor->project->tilesetLabels["secondary"];
|
||||
return window->editor->project->secondaryTilesetLabels;
|
||||
}
|
||||
|
||||
QList<QString> ScriptUtility::getMetatileBehaviorNames() {
|
||||
|
||||
Reference in New Issue
Block a user