Fix detection of engine.. the sound table api change are since 5.2

master
Герхард PICCORO Lenz McKAY 2022-06-21 13:55:05 -04:00
parent 60036b82b1
commit 62728e851f
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
--Node Registration
is_54 = has_feature("direct_velocity_on_players")
is_52 = has_feature("pathfinder_works")
if is_54 then
if is_52 then
nssd = { default.node_sound_stone_defaults() }
else
nssd = default.node_sound_stone_defaults()