1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-22 23:17:04 +00:00

fixed Halloween

This commit is contained in:
Zeno Rogue 2020-09-17 04:35:49 +02:00
parent a5db74a8b8
commit 68fa0c83e7

View File

@ -3727,6 +3727,10 @@ EX namespace halloween {
EX void getTreat(cell *where) {
if(!items[itTreat]) reset();
gainItem(itTreat);
changes.at_commit(after_treat);
}
EX void after_treat() {
farempty()->item = itTreat;
int itr = items[itTreat];
items[itOrbTime] += 30;