Skip to content

Commit

Permalink
ScriptedObject: Make "Hit script" a script option
Browse files Browse the repository at this point in the history
  • Loading branch information
Vankata453 authored Jun 19, 2024
1 parent f835bda commit 8ed0bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/object/scripted_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ ScriptedObject::get_settings()
result.add_bool(_("Solid"), &solid, "solid", true);
result.add_bool(_("Physics enabled"), &physic_enabled, "physic-enabled", true);
result.add_bool(_("Visible"), &visible, "visible", true);
result.add_text(_("Hit script"), &hit_script, "hit-script");
result.add_script(_("Hit script"), &hit_script, "hit-script");

result.reorder({"z-pos", "visible", "physic-enabled", "solid", "name", "sprite", "script", "button", "x", "y"});

Expand Down

0 comments on commit 8ed0bc3

Please sign in to comment.