mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 01:19:19 +02:00
nonglobal eventlauncher should launch individually for each client (could cause duplicated event launches, but previous behaviour is obviously wrong)
This commit is contained in:
@@ -126,7 +126,7 @@ basic_cell::update_events() {
|
|||||||
if (launcher->check_conditions()
|
if (launcher->check_conditions()
|
||||||
&& SquareMagnitude( launcher->location() - Global.pCamera.Pos ) < launcher->dRadius) {
|
&& SquareMagnitude( launcher->location() - Global.pCamera.Pos ) < launcher->dRadius) {
|
||||||
if (launcher->check_activation())
|
if (launcher->check_activation())
|
||||||
launch_event(launcher, false);
|
launch_event(launcher, true);
|
||||||
if (launcher->check_activation_key())
|
if (launcher->check_activation_key())
|
||||||
launch_event(launcher, true);
|
launch_event(launcher, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user