mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2026-01-30 09:54:10 +03:00
Add setfont scripting command
The <font> in the level file is basically the starting font, but it can be changed at any time via scripting.
This commit is contained in:
committed by
Misa Elizabeth Kai
parent
7db0e73109
commit
cc6b00a711
@@ -7185,6 +7185,9 @@ void Game::returntoeditor(void)
|
||||
ed.notedelay = 0;
|
||||
ed.roomnamehide = 0;
|
||||
|
||||
// Might've been changed in a script
|
||||
font::set_custom_font(cl.level_font_name.c_str());
|
||||
|
||||
DEFER_CALLBACK(resetbg);
|
||||
music.fadeout();
|
||||
//If warpdir() is used during playtesting, we need to set it back after!
|
||||
|
||||
Reference in New Issue
Block a user