Skip to content

[Bug] Projects using a cloned version of glace (Green Bridge) cause the game to crash #783

Description

@Whurrhurr

Describe the bug

Title.
all cloned versions of green bridge include

		<on_enter_clbks>
			<value_node value="nil"/>
		</on_enter_clbks>

in their main.xml, this causes issues.
game crashes with this

Application has crashed: C++ exception
[string "lib/managers/menu/missionbriefinggui.lua"]:3943: attempt to call local 'clbk' (a string value)

SCRIPT STACK

close_mission_briefing_gui() lib/managers/menu/menucomponentmanager.lua:3259
at_exit() lib/states/ingamewaitingforplayers.lua:612
trans_func() lib/states/gamestate.lua:14
_do_state_change() core/lib/utils/game_state_machine/coregamestatemachine.lua:124
end_update() core/lib/utils/game_state_machine/coregamestatemachine.lua:104
end_update() lib/setups/setup.lua:982
end_update() lib/setups/gamesetup.lua:878
end_update() lib/setups/networkgamesetup.lua:33
core/lib/setups/coresetup.lua:602

Steps to reproduce the issue

make a new project that is a cloned heist using glace/green bridge as it's base, trying to play the level will crash after the blackscreen. trying to restart will also result in a crash.

Log file

No response

Minimal reproduction

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions