Skip to content

Commit 9849229

Browse files
authored
Merge pull request #86 from cortex-command-community/setjettimeleft-binding
Add SetJetTimeLeft binding
2 parents d9c1cf1 + 8642214 commit 9849229

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
2222

2323
- Fixed a rare crash that could occur depending on Lua garbage collection and async processing.
2424

25+
- Fixed a missing Lua write binding for `AEJetpack`'s `JetTimeLeft` property.
26+
2527
</details>
2628

2729
## [Release v6.1.0] - 2024/02/15

Source/Lua/LuaBindingsEntities.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ LuaBindingRegisterFunctionDefinitionForType(EntityLuaBindings, AEJetpack) {
377377

378378
.property("JetpackType", &AEJetpack::GetJetpackType, &AEJetpack::SetJetpackType)
379379
.property("JetTimeTotal", &AEJetpack::GetJetTimeTotal, &AEJetpack::SetJetTimeTotal)
380-
.property("JetTimeLeft", &AEJetpack::GetJetTimeLeft)
380+
.property("JetTimeLeft", &AEJetpack::GetJetTimeLeft, &AEJetpack::SetJetTimeLeft)
381381
.property("JetReplenishRate", &AEJetpack::GetJetReplenishRate, &AEJetpack::SetJetReplenishRate)
382382
.property("MinimumFuelRatio", &AEJetpack::GetMinimumFuelRatio, &AEJetpack::SetMinimumFuelRatio)
383383
.property("JetAngleRange", &AEJetpack::GetJetAngleRange, &AEJetpack::SetJetAngleRange)

0 commit comments

Comments
 (0)