Skip to content

Commit

Permalink
Merge pull request #14 from inferno-collection/development
Browse files Browse the repository at this point in the history
Public Beta Version 1.14
  • Loading branch information
cm8263 committed Sep 28, 2023
2 parents 2f5787a + d6e80a9 commit 6ae85c7
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Inferno Collection Ladders Reborn 1.13 Beta
# Inferno Collection Ladders Reborn 1.14 Beta
#
# Copyright (c) 2019-2022, Christopher M, Inferno Collection. All rights reserved.
#
Expand Down
5 changes: 4 additions & 1 deletion Client/Main.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Inferno Collection Ladders Reborn 1.13 Beta
* Inferno Collection Ladders Reborn 1.14 Beta
*
* Copyright (c) 2019-2022, Christopher M, Inferno Collection. All rights reserved.
*
Expand Down Expand Up @@ -199,6 +199,9 @@ internal async void OnCollect(int networkId)
Tick += CarryingTick;
}

[EventHandler("Inferno-Collection:Client:Ladders:Store")]
internal void OnStore() => _carryingLadder = null;

[EventHandler("Inferno-Collection:Client:Ladders:Attach")]
internal async void OnAttach(int playerId, int networkId, bool onBack = false)
{
Expand Down
4 changes: 2 additions & 2 deletions Client/fxmanifest.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-- Inferno Collection Ladders Reborn 1.13 Beta
-- Inferno Collection Ladders Reborn 1.14 Beta
--
-- Copyright (c) 2019-2022, Christopher M, Inferno Collection. All rights reserved.
--
Expand All @@ -15,7 +15,7 @@ description "OneSync Ladder script for FiveM."

author "Inferno Collection (inferno-collection.com)"

version "1.13 Beta"
version "1.14 Beta"

url "https://inferno-collection.com"

Expand Down
2 changes: 1 addition & 1 deletion LICENCE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Inferno Collection Ladders Reborn 1.13 Beta
Inferno Collection Ladders Reborn 1.14 Beta

Copyright (c) 2019-2022, Christopher M, Inferno Collection. All rights reserved.

Expand Down
2 changes: 1 addition & 1 deletion LaddersReborn.Shared/Models/Config.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Inferno Collection Ladders Reborn 1.13 Beta
* Inferno Collection Ladders Reborn 1.14 Beta
*
* Copyright (c) 2019-2022, Christopher M, Inferno Collection. All rights reserved.
*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Inferno Collection: Ladders - Reborn
[![Build and Check](https://github.com/inferno-collection/Ladders-Reborn/actions/workflows/dotnet.yml/badge.svg?branch=master)](https://github.com/inferno-collection/Ladders-Reborn/actions/workflows/dotnet.yml)

__Public Beta Version 1.13__
__Public Beta Version 1.14__

Following the release of the [original Ladders](https://github.com/inferno-collection/Ladders) back in 2019, Ladders - Reborn is the updated C# version boasting OneSync support, addon Ladder prop instead of replace, and more efficient code.

Expand Down
3 changes: 2 additions & 1 deletion Server/Main.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Inferno Collection Ladders Reborn 1.13 Beta
* Inferno Collection Ladders Reborn 1.14 Beta
*
* Copyright (c) 2019-2022, Christopher M, Inferno Collection. All rights reserved.
*
Expand Down Expand Up @@ -509,6 +509,7 @@ internal void StoreLadder(Player source)
}

source.State.Set("ICCarryingLadder", -1, true);
source.TriggerEvent("Inferno-Collection:Client:Ladders:Store");

_createdLadders.Remove(entity.Handle);

Expand Down

0 comments on commit 6ae85c7

Please sign in to comment.