Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/nodes/fmod_event_emitter.h
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,10 @@ namespace godot {
_event_name = name;
_event_guid = event_guid;

#ifdef TOOLS_ENABLED
if (Engine::get_singleton()->is_editor_hint()) { return; }
#endif

_stop_and_restart_if_autoplay();
}

Expand All @@ -467,6 +471,10 @@ namespace godot {
_event_guid = event_guid;
_event_name = FmodServer::get_singleton()->get_event_path_internal(_event_guid);

#ifdef TOOLS_ENABLED
if (Engine::get_singleton()->is_editor_hint()) { return; }
#endif

_stop_and_restart_if_autoplay();
}

Expand Down
Loading