1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 22:39:53 +00:00

get_asset used on IOS too

This commit is contained in:
Zeno Rogue 2021-06-03 12:26:36 +02:00
parent 196d0dcb4c
commit 0e0f773560

View File

@ -942,7 +942,7 @@ EX namespace reg3 {
void load_ruleset(string fname) { void load_ruleset(string fname) {
string buf; string buf;
#if ISANDROID #if ISANDROID || ISIOS
buf = get_asset(fname); buf = get_asset(fname);
#else #else
FILE *f = fopen(fname.c_str(), "rb"); FILE *f = fopen(fname.c_str(), "rb");