mirror of
https://github.com/simon987/Much-Assembly-Required-Frontend.git
synced 2025-04-10 14:26:44 +00:00
Merge pull request #11 from KevinRamharak/patch-3
Fixed wrong hologram color display + remove newlines in hologram
This commit is contained in:
commit
a3c6329a41
@ -327,7 +327,8 @@ function updateGameObject(object, responseObj) {
|
||||
|
||||
var color = false;
|
||||
if (responseObj.holoC) {
|
||||
color = "#" + Number(responseObj.holoC & 0xFFFFFF).toString(16)
|
||||
color = (responseObj.holoC & 0xFFFFFF).toString(16)
|
||||
color = "#" + ("000000".substr(color.length) + color);
|
||||
}
|
||||
|
||||
if (responseObj.holoMode === 1) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user