Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

painkillerInterval is seconds not minutes #142

Open
zozomanx opened this issue Oct 4, 2024 · 0 comments
Open

painkillerInterval is seconds not minutes #142

zozomanx opened this issue Oct 4, 2024 · 0 comments
Labels
bug Something isn't working need repro This bug report needs confirmation

Comments

@zozomanx
Copy link

zozomanx commented Oct 4, 2024

Summary

Comment should be changed to seconds instead of minutes

Reproduction

In qbx_ambulancejob > config > client.lua "painkillerInterval" says "Time in minutes that painkillers last for", but when tracing painkillerInterval it goes to a function inside client > wounding.lua that does

local function consumePainKiller() painkillerAmount -= 1 Wait(config.painkillerInterval * 1000) if painkillerAmount > 0 then return end painkillerAmount = 0 OnPainKillers = false exports.qbx_medical:EnableDamageEffects() end

The function has it in seconds and not minutes.

Expected behavior

Should be changed to seconds instead of minutes.

Actual behavior

It says minutes.

Additional context

No response

Current Version

V1

Custom Resources

N/A

@zozomanx zozomanx added bug Something isn't working need repro This bug report needs confirmation labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need repro This bug report needs confirmation
Projects
Status: Todo
Development

No branches or pull requests

1 participant