mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-19 06:04:30 +00:00
fixed Orb of Safety in multiplayer
This commit is contained in:
1 parent
67bf4586ac
commit
f69b6f0795
4 files changed
+17
-6
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user