Skip to content

Commit

Permalink
Rope segment fix
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryMarkle committed Jun 10, 2024
1 parent fb6a280 commit 0612070
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.run_number }}
release_name: Release v0.9.90-2
release_name: Release v0.9.90-4
body: ${{ steps.read_release_notes.outputs.notes }}
draft: false
prerelease: false
Expand Down
2 changes: 1 addition & 1 deletion Leditor/Globals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ internal static string AssetsDirectory {

internal static System.Timers.Timer AutoSaveTimer = new(30_000);

internal const string Version = "Henry's Leditor v0.9.90-2";
internal const string Version = "Henry's Leditor v0.9.90-4";
internal const string RaylibVersion = "Raylib v5.0.0";
internal static string BuildConfiguration { get; set; } = "Build Configuration: Unknown";
internal static string OperatingSystem { get; set; } = "Operating System: Unknown";
Expand Down
2 changes: 1 addition & 1 deletion Leditor/Serialization/Exporters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ private static string Export((InitPropType type, TileDefinition? tile, (int cate
{ } basic => $"[#renderorder: {basic.RenderOrder}, #seed: {basic.Seed}, #renderTime: {basic.RenderTime}]"
};

var pointsString = string.Join(", ", prop.Extras.RopePoints.Select(point => $"point({point.X*1.25f:0.0000}, {point.Y:0.0000})"));
var pointsString = string.Join(", ", prop.Extras.RopePoints.Select(point => $"point({point.X*1.25f:0.0000}, {point.Y*1.25f:0.0000})"));

builder.Append($"[#settings: {settingsString}{(type == InitPropType.Rope ? $", #points: [{pointsString}]" : "")}]");

Expand Down
8 changes: 3 additions & 5 deletions Release_Notes.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
### Revision 0.9.90-2
### Revision 0.9.90-4

- Fixed a crash that occurs when more than one texture share the same name.

### Revision 0.9.90-3

- Fixed not being able to delete tiles when their head has -1 spec.
- Fixed not being able to delete tiles when their head has -1 spec.
- Fixed rope segment coordinates not scaling properly.

0 comments on commit 0612070

Please sign in to comment.