Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Global Icarus variables broken in MP #1140

Open
mrwonko opened this issue Mar 7, 2023 · 1 comment
Open

Global Icarus variables broken in MP #1140

mrwonko opened this issue Mar 7, 2023 · 1 comment
Assignees
Labels

Comments

@mrwonko
Copy link
Contributor

mrwonko commented Mar 7, 2023

Reportedly, running

//Generated by BehavEd

print ( "!Running script now." );
declare ( /*@DECLARE_TYPE*/ STRING, "foo" );
declare ( /*@DECLARE_TYPE*/ STRING, "bar" );
set ( "foo", "!HELLO FOO" );
set ( "bar", "!HELLO BAR" );
print ( $get( STRING, "foo")$ );
print ( $get( STRING, "bar")$ );

in MP prints

HELLO BAR
HELLO BAR

instead of

HELLO FOO
HELLO BAR

at least in siege using roundbegin_target.

Sounds bad, but is also broken in vanilla, allegedly.

@mrwonko mrwonko added the T - Bug label Mar 7, 2023
@mrwonko mrwonko self-assigned this Mar 7, 2023
@bully-mb2
Copy link

bully-mb2 commented Mar 8, 2023

Looks like this issue also affects global variables when a set call is made in an "affect" block
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants