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

fixed Orb of Safety in multiplayer

This commit is contained in:
Zeno Rogue
2020-05-16 02:38:13 +02:00
parent 67bf4586ac
commit f69b6f0795
4 changed files with 17 additions and 6 deletions

View File

@@ -147,8 +147,10 @@ EX bool collectItem(cell *c2, bool telekinesis IS(false)) {
playSound(c2, "pickup-orb"); // TODO safety
if(!dual::state) items[c2->item] = 7;
if(shmup::on)
if(shmup::on || multi::players > 1) {
shmup::delayed_safety = true;
shmup::delayed_safety_land = c2->land;
}
else
activateSafety(c2->land);
return true;