mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 07:27:07 +00:00
fixed Halloween
This commit is contained in:
parent
a5db74a8b8
commit
68fa0c83e7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user