danreeves / danreeves/UnitExplorer

Unit.id() Error

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Lua
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Using `Unit.id()` writes a warning, `warning: [Lua] Broken 31 bit value. Use id32() or id_string() instead.`, to the console log every time the function is called. The issue is that this often results in literally thousands of warnings being written to the console log within a minute. Simply replacing `Unit.id()` with `Unit.id32()` as the warning suggest, seems to fix this issue without changing the mod's functionality.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.