mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-26 15:00:06 +00:00
Fix opening C.R.A.T.E.S. resetting your boost counters
This commit is contained in:
parent
eaeeae8d62
commit
12baece1b2
@ -832,6 +832,8 @@ void ItemManager::chestOpenHandler(CNSocket *sock, CNPacketData *data) {
|
|||||||
reward->iFatigue = 100; // prevents warning message
|
reward->iFatigue = 100; // prevents warning message
|
||||||
reward->iFatigue_Level = 1;
|
reward->iFatigue_Level = 1;
|
||||||
reward->iItemCnt = 1; // remember to update resplen if you change this
|
reward->iItemCnt = 1; // remember to update resplen if you change this
|
||||||
|
reward->m_iBatteryN = plr->batteryN;
|
||||||
|
reward->m_iBatteryW = plr->batteryW;
|
||||||
|
|
||||||
item->iSlotNum = chest->iSlotNum;
|
item->iSlotNum = chest->iSlotNum;
|
||||||
item->eIL = chest->eIL;
|
item->eIL = chest->eIL;
|
||||||
|
Loading…
Reference in New Issue
Block a user