Mega Antag Refactor (#25786)
* Mega Antag Refactor * last minute delta save * more workshopping * more shit * ok tested this for once * okkkkk sure * generic delays for starting rules * well darn * nukies partially * ouagh * ballin' faded and smonkin wed * obliterated the diff * Spread my arms and soak up congratulations * I've got plenty of love, but nothing to show for it * but there’s too much sunlight Shining on my laptop monitor, so I Can’t see anything with any amount of clarity * ok this junk * OOK! * fubar * most of sloth's review * oh boy * eek * hell yea! * ASDFJASDJFvsakcvjkzjnhhhyh
This commit is contained in:
@@ -83,12 +83,9 @@ namespace Content.Server.Traitor.Uplink.Commands
|
||||
uplinkEntity = eUid;
|
||||
}
|
||||
|
||||
// Get TC count
|
||||
var tcCount = _cfgManager.GetCVar(CCVars.TraitorStartingBalance);
|
||||
Logger.Debug(_entManager.ToPrettyString(user));
|
||||
// Finally add uplink
|
||||
var uplinkSys = _entManager.System<UplinkSystem>();
|
||||
if (!uplinkSys.AddUplink(user, FixedPoint2.New(tcCount), uplinkEntity: uplinkEntity))
|
||||
if (!uplinkSys.AddUplink(user, 20, uplinkEntity: uplinkEntity))
|
||||
{
|
||||
shell.WriteLine(Loc.GetString("add-uplink-command-error-2"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user