01f115d...4fb2439

commit 4fb24391cb02f285f1adbae236647bf70d8b1e30
Author: Joonas Rikkonen <poe.regalis@gmail.com>
Date:   Thu Mar 21 16:35:18 2019 +0200

    Fixed almost none of the new medical items being combinable or usable in a syringe gun, added relevant tags to StatusEffects (medical, poison)

commit 975cb1c80bdf90a5b699a35f77fdddd927937816
Author: Joonas Rikkonen <poe.regalis@gmail.com>
Date:   Thu Mar 21 15:42:53 2019 +0200

    Fixed spamevents command causing an immediate disconnection, fixed simulatedlatency using the first argument as both the minimum latency and random latency
This commit is contained in:
Joonas Rikkonen
2019-03-21 16:40:47 +02:00
parent cc9ae260a3
commit e501bcdf53
2 changed files with 8 additions and 6 deletions
@@ -912,7 +912,7 @@ namespace Barotrauma
ThrowError(args[0] + " is not a valid latency value.");
return;
}
if (!float.TryParse(args[0], NumberStyles.Any, CultureInfo.InvariantCulture, out float randomLatency))
if (!float.TryParse(args[1], NumberStyles.Any, CultureInfo.InvariantCulture, out float randomLatency))
{
ThrowError(args[1] + " is not a valid latency value.");
return;