From c15eaed0de59192b1aead91fb49fdd94742e6a6b Mon Sep 17 00:00:00 2001 From: Sterling Parker Date: Mon, 9 Mar 2020 18:08:49 -0600 Subject: [PATCH] Remove bad sling destruction logic. --- modules/sling/bootstrap.zsc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/sling/bootstrap.zsc b/modules/sling/bootstrap.zsc index 78dab48e..0869bab5 100644 --- a/modules/sling/bootstrap.zsc +++ b/modules/sling/bootstrap.zsc @@ -4,11 +4,8 @@ class UaS_Sling_Bootstrap : EventHandler { //initialize additional player inventory override void PlayerEntered(PlayerEvent e) { PlayerInfo player = players[e.PlayerNumber]; - if(!UaS_SlingEnabled) { - player.mo.TakeInventory("SlingInitialized", 1); - player.mo.TakeInventory("UaS_WeaponSling", 1); - return; - } + if(level.time > 1) { return; } + if(!UaS_SlingEnabled) { return; } if(player.mo.countinv("SlingInitialized")) { return; } if(UaS_SlingStart == true) { player.mo.Giveinventory("UaS_WeaponSling", 1);