From: otta8634 Date: Thu, 9 Jan 2025 07:30:57 +0000 (+0800) Subject: Add slight indent before lists in the guide X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1436a08ab6c13e2d4d541c0022ee7be5db085988;p=xonotic%2Fxonotic-data.pk3dir.git Add slight indent before lists in the guide This just makes it look slightly better. --- diff --git a/qcsrc/common/items/item/ammo.qc b/qcsrc/common/items/item/ammo.qc index 2b9d5e2f12..24f76b60e6 100644 --- a/qcsrc/common/items/item/ammo.qc +++ b/qcsrc/common/items/item/ammo.qc @@ -9,7 +9,7 @@ METHOD(Ammo, describe, string(Ammo this)) entity ammo = GetAmmoResource(this); string s = sprintf(_("The %s ammo type is used by the:"), COLORED_NAME(this)); FOREACH(Weapons, it.ammo_type == ammo, { - s = strcat(s, "\n", COLORED_NAME(it)); + s = strcat(s, "\n ", COLORED_NAME(it)); }); return s; } diff --git a/qcsrc/common/mutators/mutator/new_toys/new_toys.qc b/qcsrc/common/mutators/mutator/new_toys/new_toys.qc index c500a1b956..f00a42bfaa 100644 --- a/qcsrc/common/mutators/mutator/new_toys/new_toys.qc +++ b/qcsrc/common/mutators/mutator/new_toys/new_toys.qc @@ -31,7 +31,7 @@ METHOD(MutatorNewToys, describe, string(MutatorNewToys this)) "The current %s weapons are:"), // do it like this so that the string doesn't need to change when the list is updated COLORED_NAME(this), COLORED_NAME(MUTATOR_mutator_instagib), COLORED_NAME(MUTATOR_ok), COLORED_NAME(this), COLORED_NAME(this)); FOREACH(Weapons, nt_IsNewToy(it.m_id), { - s = strcat(s, "\n", COLORED_NAME(it)); + s = strcat(s, "\n ", COLORED_NAME(it)); }); return s; }