fix for initial trader buy

This commit is contained in:
Shtoyan 2022-02-25 18:39:45 +04:00
parent 075f4f14c1
commit ee82159942
2 changed files with 8 additions and 12 deletions

View File

@ -45,7 +45,6 @@ var config int mediumZedMinHealth;
var int maxPlayersInGame;
var bool bSpawnRateEnforced; // Set to true after spawn rate was altered
// 'Adrenaline junkie' zed-time extensions
var int junkieDoneGoals; // How many times we collected enough head-shots to trigger zed-time extension
var int junkieNextGoal; // How many head-shots we need for next zed-time extension
@ -347,8 +346,7 @@ simulated function Tick(float Delta)
local NicePlayerController localPlayer;
super.Tick(Delta);
if (ScrnGT != none && ScrnGT.WaveCountDown <= 5)
bIsPreGame = false;
localPlayer = NicePlayerController(Level.GetLocalPlayerController());
// Check if the local PlayerController is available yet
if (localPlayer == none)
@ -360,7 +358,7 @@ simulated function Tick(float Delta)
localPlayer.storageClient.remoteRI = localPlayer.remoteRI;
localPlayer.storageClient.events.static.CallLinkEstablished();
}
if(localPlayer.bFlagDisplayCounters)
if (localPlayer.bFlagDisplayCounters)
{
for (i = 0; i < niceCounterSet.Length; i++)
{

View File

@ -41,12 +41,10 @@ defaultproperties
NiceHints[06]="You can play this if you beat 5 faked / 6p HP zeds."
NiceHints[07]="Hold or Die!"
NiceHints[08]="The Wipe Train has no breaks."
NiceHints[09]="We are glad to hear your wishes and requests. Just remember we are super lazy."
NiceHints[10]="If you die - always blame dkanus."
NiceHints[11]="If nothing works - it's intended."
NiceHints[12]="If you find any bug, we can make it a feature."
NiceHints[13]="Play this only if you don't have real life."
NiceHints[14]="You suck and we hate you."
NiceHints[15]="GITGUD"
NiceHints[16]="Git ur shit bucket."
NiceHints[09]="You're welcome with requests. Just remember we are super lazy."
NiceHints[10]="If nothing works - it's intended."
NiceHints[11]="If you find any bug, we can make it a feature."
NiceHints[12]="Play this only if you don't have real life."
NiceHints[13]="You suck and we hate you."
NiceHints[14]="GITGUD"
}