mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-23 21:21:27 -05:00
Fix tracker unlist condition to not include stationary and game update
This commit is contained in:
+1
-1
@@ -1332,7 +1332,7 @@ function init_socket(args)
|
||||
else add_log("Note: Game dynamics and drops aren't final, they are evolving with every update","gray");
|
||||
if(data.blessed_by)
|
||||
{
|
||||
add_log("This server has been blessed by "+data.blessed_by,"#8F70D8");
|
||||
add_chat("","This server has been blessed by "+data.blessed_by,"#8F70D8");
|
||||
}
|
||||
// add_log("Warning: A Chrome bug is causing memory leaks, very small but it adds up. They patched the bug, however, that patch didn't make it to our browsers yet","#E08583");
|
||||
$(".charactername").html(character.name);
|
||||
|
||||
+1
-1
@@ -2203,7 +2203,7 @@ function render_tracker()
|
||||
html+="</div>";
|
||||
html+="<div class='trackers trackerm'>";
|
||||
object_sort(G.monsters,"hpsort").forEach(function(e){
|
||||
if((e[1].stationary || e[1].cute) && !e[1].achievements || e[1].unlist) return;
|
||||
if((e[1].unlist || e[1].cute) && !e[1].achievements || e[1].unlist) return;
|
||||
var count=(tracker.monsters[e[0]]||0)+(tracker.monsters_diff[e[0]]||0),color="#50ADDD";
|
||||
if(tracker.max.monsters[e[0]] && tracker.max.monsters[e[0]][0]>count)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user