Skip to content

Commit 735ba01

Browse files
committed
fix: Add export of scala source scripts in export plugin
1 parent a68753a commit 735ba01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/kotlin_editor_export_plugin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ String KotlinEditorExportPlugin::get_name() const {
189189

190190
void KotlinEditorExportPlugin::_export_file(const String& p_path, const String& p_type, const HashSet<String>& p_features) {
191191
String ext = p_path.get_extension();
192-
if (ext == GODOT_KOTLIN_SCRIPT_EXTENSION || ext == GODOT_JAVA_SCRIPT_EXTENSION) {
192+
if (ext == GODOT_KOTLIN_SCRIPT_EXTENSION || ext == GODOT_JAVA_SCRIPT_EXTENSION || ext == GODOT_SCALA_SCRIPT_EXTENSION) {
193193
// We replace the original script with another with the same path and name but with fqname content.
194194
// The remap boolean ensures that the original file is not kept for the export.
195195

0 commit comments

Comments
 (0)