picpos = myPos;
}
- drawstring_aspect(numpos, ftos(t), vec2(((ar - 1)/ar) * mySize.x, mySize.y), color, panel_fg_alpha, DRAWFLAG_NORMAL);
+ drawstring_aspect(numpos, (t < 0 ? "-" : ftos(t)), vec2(((ar - 1)/ar) * mySize.x, mySize.y), color, panel_fg_alpha, DRAWFLAG_NORMAL);
drawpic_aspect(picpos, item_icon, '1 1 0' * mySize_y, '1 1 1', panel_fg_alpha, DRAWFLAG_NORMAL);
}
if (round_handler_IsActive())
round_handler_Reset(game_starttime);
}
+
+ // for RJZ
+ if (autocvar_g_count_shards) {
+ total_shards = 0;
+ send_TotalShardsAll();
+ }
if (shuffleteams_on_reset_map)
{
pickedup |= Item_GiveAmmoTo(item, player, RES_FUEL, g_pickup_fuel_max);
// for RJZ
- if (autocvar_g_count_shards && item.itemdef == ITEM_ArmorSmall) {
+ if (autocvar_g_count_shards && !warmup_stage && item.itemdef == ITEM_ArmorSmall) {
total_shards++;
send_TotalShardsAll();
}
WinningConditionHelper(this); // set worldstatus
- world_initialized = 1;
- __spawnfunc_spawn_all();
-
if(!warmup_stage)
round_handler_Activate(true);
+
+ // for RJZ
+ if (autocvar_g_count_shards && warmup_stage) {
+ total_shards = -2;
+ send_TotalShardsAll();
+ }
+
+ world_initialized = 1;
+ __spawnfunc_spawn_all();
}
spawnfunc(light)